routes google
This commit is contained in:
parent
9fc48d172c
commit
8728177096
@ -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'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user