Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How do I define a Layout for Login and another for the administration screen using the same module ?



57.2k
Accepted
answer
edited May '18
class SomeController extends \Phalcon\Mvc\Controller {
    public function indexAction() {
        $this->view->setLayout('my-layout');
    }
}