Patch #5389

Option redirect_to in UsersController#edit when a params :back is defined

Added by Thales Ferreira over 12 years ago. Updated over 12 years ago.

Status:NewStart date:2010-04-27
Priority:NormalDue date:
Assignee:-% Done:


Category:Accounts / authentication
Target version:-


Actually, in controller Users when a request of type post is send the last line in this method (line: 112 redirect_to :back) for me doesnt make sense.

It will usable if it wasnt redirect_to params[:back]. ???

I found this when i needed to redirect to last location in a user edit.
For example, im forcing the user to fill another custom fields from your user data, but i want to back to previous url when the user complete the remainder custom fields edit.


#1 Updated by Jean-Philippe Lang over 12 years ago

There is no patch attached.

Also available in: Atom PDF