Hi,
In my Rails logging in functionality I use
session[:return_to] = request.request_uri
and then in the logging functionality I use:
redirect_to session[:return_to]
Which works fine except when I render a partial with AJAX. What happens is that the request.uri is for the AJAX request which screws up and doesn't render what's expected.
You know how I can go around this?
Thanks,
Tam