Forum: Ruby on Rails redirect_to header: how to access location?

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.
Peter M. (Guest)
on 2006-05-11 22:34
(Received via mailing list)
Hi,

If my controller sends a redirect_to as a response, where in the
response header is the Location? I would like to access this location
with JavaScript but don't know how to access it. I can't find any docs
on how Rails sets up these headers.

Thanks,
Peter
This topic is locked and can not be replied to.