From 235620506d894bf30203f016582c31e44136101c Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Tue, 9 Dec 2014 09:04:50 +0100 Subject: [PATCH] filtre domaine --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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