C
C
cool-vav2016-02-18 18:25:53
Yii
cool-vav, 2016-02-18 18:25:53

Controllers in folders Yii2?

Good evening. Is it possible to put controllers in a folder in Yii2? Let's say that my controllers are in the admin folder. When I do this, it does not work, perhaps the view does not find it. The application is installed basic standard clean. And so that in the view I could also display my views in the admin folder. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2016-02-18
@cool-vav

For separation, there is a ready-made Yii2 advanced solution, where the user part is separated from the admin part.
https://github.com/yiisoft/yii2/issues/1467
https://github.com/yiisoft/yii2/issues/787
stackoverflow.com/questions/31609908/autoload-cont...
Well, that's why you are too lazy to search ?
You need to enter a rating on the toaster, like on stackoverflow with the possibility of voting and restrictions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question