Closed Legion112 closed 6 years ago
How is this related to this asset-bundle?
I got that problem once and wanted to share that. I think if in default, not login user cannot see the admin layout it will be good. Sorry for later answer.
Which files of this extension are you using? Did you read https://github.com/dmstr/yii2-adminlte-asset#quick-start?
I had read all documentation. I am using Advanced Application Template. I extracted those files to the folder "frontend/views/" according to documentation.
Logic should not be put into views, I think your problem is specific to your application setup. The layout and views we provide are just examples, which need to be adjusted to your needs.
I don't think we can do much about it.
If a user is a guest. And a user will try to go to the not existing controller or action user will get all admin actions.
To fix this, you can add to the top of view error the following code: