Actions
Patch #5389
openOption redirect_to in UsersController#edit when a params :back is defined
Status:
New
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
2010-04-27
Due date:
% Done:
0%
Estimated time:
Description
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.
Actions