routes google

This commit is contained in:
Nicolas Bally 2013-07-21 14:38:13 +02:00
parent 9fc48d172c
commit 8728177096

View File

@ -3,7 +3,7 @@ CMSnb::Application.routes.draw do
# See how all your routes lay out with "rake routes". # See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root" # You can have the root of your site routed with "root"
root 'public/menu_items#show'
@ -138,6 +138,12 @@ CMSnb::Application.routes.draw do
get 'admin' => "admin/admin_auths#index" get 'admin' => "admin/admin_auths#index"
get "*url.:f" => 'public/menu_items#show'
root 'public/menu_items#show'
# Example of regular route: # Example of regular route:
# get 'products/:id' => 'catalog#view' # get 'products/:id' => 'catalog#view'