diff --git a/config/routes.rb b/config/routes.rb index ddd7824..c35d351 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -212,7 +212,8 @@ Survey::Application.routes.draw do 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' ,:constraints => {:domain => ["new.lepicvert.org", "localhost"]} + root 'public/menu_items#show' ,:constraints => {:domain => ["localhost"]} + root 'public/menu_items#show' ,:constraints => {:domain => ["lepicvert.org"], :subdomain => ["new"]} end