In a redirect_to you can say :back to redirect you back to the
function. How do I access that previous function value? I need to
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