Closed david-sa closed 8 years ago
Thank you! That's also a nice solution. I was using dependency injection, like so:
Yii::$container->set(
'dektrium\user\controllers\AdminController',
[
'layout' => '@backend/views/layouts/box'
]
);
btw: phd4 and phd5 are not very different, the main difference is that phd5 has much less code :)
Thank you for the info!
I think I can close this one.
It seems that the reason of these files is just to apply
@app/views/layouts/box
to the admin section of the user module.As you can read here, a cleaner way to achieve it is by updating the controller map:
If the development of phd4 is already over, maybe you can have it in mind for phd5. (Edit: I just saw that in phd5 you are using a different approach)