The solution is simply save requested url in session and after user
in send it back to
the session url.
If you are using restful authentication, you may get the solution,
Redirect to the URI stored by the most recent store_location call
to the passed default. Set an appropriately modified
after_filter :store_location, :only => [:index, :new, :show, :edit]
for any controller you want to be bounce-backable.
redirect_to(session[:return_to] || default)
session[:return_to] = nil
On Wed, Sep 30, 2009 at 2:43 PM, Sharanya S.
How to do?
Thankx in advance
Posted via http://www.ruby-forum.com/.
Thanks and Regards
yahoo & gtalk: saurabh.purnaye
msn: [email protected]