Patch #5389

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

Added by Thales Ferreira about 10 years ago. Updated about 10 years ago.

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

0%

Category:Accounts / authentication
Target version:-

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.

History

#1 Updated by Jean-Philippe Lang about 10 years ago

There is no patch attached.

Also available in: Atom PDF