Answer the question
In order to leave comments, you need to log in
How to find the reason for the strange behavior of the script?
Yes, I have no idea where to dig.
There is a project on yii2
In the afterAction of all controllers, except for the authorization one, there is a
script that remembers the user's url so that return $this->goBack();
public function afterAction($action, $result)
{
Yii::$app->getUser()->setReturnUrl(Yii::$app->request->url);
return parent::afterAction($action, $result);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question