From 5f1ffc4e3c3ea36efedec365d67654506901d220 Mon Sep 17 00:00:00 2001 From: Will Kocur Date: Wed, 10 Feb 2021 11:29:35 +0000 Subject: [PATCH] add in trade.cites.org redirect --- config/routes.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b67ad39a10..8095138090 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -295,10 +295,10 @@ # resources :products # end - # root :to => 'cites_trade/home#index', - # :constraints => lambda { |request| - # request.domain(3) == 'trade.cites.org' - # } + get '/', :to => 'cites_trade/home#index', + :constraints => lambda { |request| + request.domain(3) == 'trade.cites.org' + } # You can have the root of your site routed with "root" # just remember to delete public/index.html.