Good afternoon I hope you can help me, I have a strange problem and it does not work redirect, anywhere in my application. not even when logging in ... when executing the action it does all the procedures of the method but when redirecting it stays in the same url and the page goes blank.
'urlManager' => [
'class' => 'yii\web\UrlManager',
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules'=>[
' ' => 'site/index',
'POST <controller:[\w-]+>s' => '<controller>/create',
'<controller:[\w-]+>s' => '<controller>/index',
'PUT <controller:[\w-]+>/<id:\d+>' => '<controller>/update',
'DELETE <controller:[\w-]+>/<id:\d+>' => '<controller>/delete',
'<controller:[\w-]+>/<id:\d+>' => '<controller>/view',
],
],