This commit is contained in:
Nicolas Bally 2021-11-29 17:31:15 +01:00
parent b466250804
commit 3fb90b3deb

View File

@ -1,15 +1,15 @@
Rails.application.routes.draw do Rails.application.routes.draw do
constraints :subdomain => /^(?!commander|negos)(\w+)/ do # constraints :subdomain => /^(?!commander|negos)(\w+)/ do
get "/" => 'public/reseauxes#find_sub_domain' # get "/" => 'public/reseauxes#find_sub_domain'
end # end
constraints subdomain: 'commander' do # constraints subdomain: 'commander' do
get "/" => "public/home#vouisstar" # get "/" => "public/home#vouisstar"
end # end
constraints domain: ['negos.pro', 'negos.olwen.xyz', "localhost"] do #constraints domain: ['negos.pro', 'negos.olwen.xyz', "localhost"] do
get 'mail_assets/:token.png' => "admin/mail_trackings#update", :as => :image_tracking get 'mail_assets/:token.png' => "admin/mail_trackings#update", :as => :image_tracking
@ -574,7 +574,7 @@ Rails.application.routes.draw do
get "/" => 'public/needs#index' get "/" => 'public/needs#index'
end #end
#root "" #root ""