Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add a default route for /admin

  • Loading branch information...
commit b693ace89ee2a486eb76807d7fe22eb869fdf6d3 1 parent 4ee7fdd
@zapnap zapnap authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  config/routes.rb
View
1  config/routes.rb
@@ -1,4 +1,5 @@
SimpleAdmin::Engine.routes.draw do
+ root :to => "admin#index", :interface => SimpleAdmin::registered.first.try(:collection)
SimpleAdmin::registered.each do |interface|
resources interface.collection,
:controller => :admin,
Please sign in to comment.
Something went wrong with that request. Please try again.