hi, i have 2 domains setup and i am having issues. 2 domains, layout
is being picked in applciaiton controller.
1st load after deploy shows correct site, but subsequent reloads just
show same site under both domains. here the routes:
#constraints DomainConstraint.new('foo1.com') do
constraints Subdomain1 do
get '/' , :to => 'jobs#landing' , as: 'jobs_landing'
root :to => "jobs#landing", as: 'root_foo1'
#constraints DomainConstraint.new('foo2.com') do
constraints Subdomain2 do
get '/' , :to => 'home#front' , as: 'foo2_landing'
root :to => "home#front"
#as you can see, i have tried a DomainConstraint, but that resulted in