diff --git a/config/routes.rb b/config/routes.rb index 5fa65c5..5634646 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,7 @@ CMSnb::Application.routes.draw do # See how all your routes lay out with "rake routes". # You can have the root of your site routed with "root" - root 'public/menu_items#show' + @@ -137,6 +137,12 @@ CMSnb::Application.routes.draw do get 'pages/*url.:f' => 'public/menu_items#show', :as => :menu_item, :f => "html" get 'admin' => "admin/admin_auths#index" + + + + get "*url.:f" => 'public/menu_items#show' + + root 'public/menu_items#show' # Example of regular route: # get 'products/:id' => 'catalog#view'