filtre domaine

This commit is contained in:
Nicolas Bally 2014-12-09 09:04:50 +01:00
parent 322914bcd8
commit 235620506d

View File

@ -212,7 +212,7 @@ Survey::Application.routes.draw do
get '*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html" get '*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html"
get '*url.:f' => 'public/menu_items#redirect', :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 end