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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Peter M. (Guest)
on 2006-05-11 22:34
(Received via mailing list)

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.

This topic is locked and can not be replied to.