:back

In a redirect_to you can say :back to redirect you back to the previous
function. How do I access that previous function value? I need to check
and see if one method is being called from a certain method, it is I
would like a reseting of a cookie to be skipped. Thanks,

-S

On 17 Jul 2008, at 17:28, Shandy N. wrote:

In a redirect_to you can say :back to redirect you back to the
previous
function. How do I access that previous function value? I need to
check
and see if one method is being called from a certain method, it is I
would like a reseting of a cookie to be skipped. Thanks,

Is just the referer (which should be one of the things in request.env

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs