>From poking around, it seems like the main signup site is separate
from client site, like xyz.highrisehq.com. If so, what's the reason
for 2 separate apps?
--
--------------------
seth at subimage interactive
-----
http://www.subimage.com
http://sublog.subimage.com
-----
http://www.getcashboard.com
http://dev.subimage.com/projects/substruct
Just curious how are you doing controller routing. i.e. say app1.xyz.com
=> has an action which goes to app2.xyz.com? What I would like to know
is there any elegant DRY way of doing redirect_to back and forth from
completely different app but under same domain?
What I have done so far is typing in actual URL for redirect_to ..is
there a better way...
Cheers
> I wouldn't be surprised if the signals are doing the same thing.
> On 4/26/07, Dorren <dorre...@gmail.com> wrote:
>>
> --
> --------------------
> seth at subimage interactive
> -----
> http://www.subimage.com
> http://sublog.subimage.com
> -----
> http://www.getcashboard.com
> http://dev.subimage.com/projects/substruct
--
Posted via http://www.ruby-forum.com/.
> Just curious how are you doing controller routing. i.e. say app1.xyz.com
> => has an action which goes to app2.xyz.com? What I would like to know
> is there any elegant DRY way of doing redirect_to back and forth from
> completely different app but under same domain?
>
if client1.xyz.com client2.xyz.com are on the same rails app, then you
can add ":host" option to your redirect_to, like
redirect_to :controller => "forum", :action => "show", :host =>
"client3.xyz.com"