From c7776718dff1e8aa62dd23f95d79dc58d515fd0e Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Tue, 9 Dec 2014 09:20:01 +0100 Subject: [PATCH] subdomain --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index c35d351..f6601bb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -212,7 +212,7 @@ 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 => ["localhost"]} + root 'public/menu_items#show' ,:constraints => {:domain => ["lepicvert.org"], :subdomain => ["new"]}