I have an action (controllerF/actionF) that permits the user to save a model by redirect to another action (controllerA/actionA). The user can be update the model after of submit.
how can redirect the user after saving to the first controllerF/actionF ?
note the actionA can be used directly, so I can't use
$this->redirect(array('controllerA/actionA'))
I tried to do that with
Yii::app()->user->setReturnUrl Yii::app()->request->urlReferrer; Yii::app()->user->returnUrl;
but without luck
can anyone advice me a way to do that?
thanks!