diff --git a/config/routes.rb b/config/routes.rb index 0bec699..ddd7824 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -208,11 +208,11 @@ Survey::Application.routes.draw do end - + get '*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html" get '*url.:f' => 'public/menu_items#redirect', :f => "html" - root 'public/menu_items#show' + root 'public/menu_items#show' ,:constraints => {:domain => ["new.lepicvert.org", "localhost"]} end