Project

General

Profile

Actions

Patch #5389

open

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

Added by Thales Ferreira almost 14 years ago. Updated almost 14 years ago.

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 #1

Updated by Jean-Philippe Lang almost 14 years ago

There is no patch attached.

Actions

Also available in: Atom PDF