sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

Feature request: parametrize redirecting from editing pages #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There are a lot of such redirects $this->redirect(array("user/profile")); in 
the code. It would be nice to have an optional "afterEditUrl" parameter, 
because for example I'm not using "user/profile" action at all, and I would 
like to redirect users to some other controller.

Original issue reported on code.google.com by karoli...@gmail.com on 14 Jun 2010 at 9:37

GoogleCodeExporter commented 9 years ago
yes,it'll good

Original comment by dingdang...@gmail.com on 25 Mar 2011 at 8:09

GoogleCodeExporter commented 9 years ago
i think about doing it in the already existent 'url' array.

Since that, you can still override the classes with your own implementation and
let it redirect wherever you want.

Original comment by thyseus on 28 Mar 2011 at 10:59