spec/dummy/config/routes.rb in puffer_pages-0.0.14 vs spec/dummy/config/routes.rb in puffer_pages-0.0.15
- old
+ new
@@ -9,10 +9,12 @@
resources :pages
resources :layouts
resources :snippets
end
+ match '/admin' => 'puffer/dashboard#index', :as => :admin
+
# The priority is based upon order of creation:
# first created -> highest priority.
# Sample of regular route:
# match 'products/:id' => 'catalog#view'
@@ -58,10 +60,10 @@
# resources :products
# end
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
- # root :to => "welcome#index"
+ # root :to => 'welcome#index'
# See how all your routes lay out with "rake routes"
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.