On Mar 22, 2:18 pm, Paul Reitz <[email protected]>
wrote:
> I'm having a similar problem that none of these solutions will work for.
> I understand you can redirect to a URL, the problem is - while I'm
> developing my app I want to redirect to 'http://127.0.0.1:3000'but
> after I deploy it I want it to redirect to something like
> 'http://app.somedomain.com'. Is there a constant similar to 'RAILS_ROOT'
> that I can use?
is redirect_to '/' good enough ? (or are you redirecting to a
different domain to the one you received the request on ?)
Fred
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---