Project

General

Profile

Actions

Feature #8423

open

Redirect to self (action) in MyController

Added by Andriy Lesyuk over 13 years ago. Updated over 13 years ago.

Status:
Reopened
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
2011-05-23
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid

Description

Is there any reason for redirecting to :action => 'acount' (the same action) on successful save in MyController's account action?..

I'm adding fields to users form (including one in my contoller) from my plugin. Saving fields with after_filter... When format of fields is invalid due to redirect original form data get lost.

P.S. Do not want to alias account method to avoid conflicts...

Actions

Also available in: Atom PDF