On 17 Jul 2008, at 17:28, Shandy Nantz 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
> -S
> --
> Posted via http://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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---