Skip to content

Commit

Permalink
add in trade.cites.org redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
WKocur committed Feb 10, 2021
1 parent e4632eb commit 5f1ffc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5f1ffc4

Please sign in to comment.