Forum: Ruby on Rails Add params tto links on page load - ?domain=xyz.com

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fd0b8a5e3854d056ee30f07feedf2219?d=identicon&s=25 Mario Gr (mario517)
on 2009-03-27 09:51
I'm working on testing an app locally that will be  serving multiple
domains.  We've currently set up a mechanism for testing this
?domain=xyz.com, but this param isn't carried over when clicking on
links throughout the site.  Is there anyway to globally change the way
rails render's links to add this param to all links?

Thanks in advance for any help!
This topic is locked and can not be replied to.