From 3fb90b3deb14d6151e55a8797aab609cafef4013 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 29 Nov 2021 17:31:15 +0100 Subject: [PATCH] Suite --- config/routes.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 068ca70..5217b38 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,15 +1,15 @@ Rails.application.routes.draw do - constraints :subdomain => /^(?!commander|negos)(\w+)/ do - get "/" => 'public/reseauxes#find_sub_domain' - end +# constraints :subdomain => /^(?!commander|negos)(\w+)/ do +# get "/" => 'public/reseauxes#find_sub_domain' +# end - constraints subdomain: 'commander' do +# constraints subdomain: 'commander' do - get "/" => "public/home#vouisstar" - end +# get "/" => "public/home#vouisstar" +# 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 @@ -574,7 +574,7 @@ Rails.application.routes.draw do get "/" => 'public/needs#index' - end + #end #root ""