From 87281770964ab986cc9df7471dd6f3cdc4e7ff53 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 21 Jul 2013 14:38:13 +0200 Subject: [PATCH] routes google --- config/routes.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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'