subdomain

This commit is contained in:
Nicolas Bally 2014-12-09 09:20:01 +01:00
parent 0ab89a4f28
commit c7776718df

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.: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"]}