Can't change my layout

Hi,

I'm trying to set a different layout for the login page. But, I'm ending with the main layout all the time. Did I forget something?

public function initialize() {

    $this->view->setLayout('session');
    $this->view->setTemplateAfter('session'); <==== Or Before give me the same result
    Tag::setTitle('Sign Up/Sign In');
    parent::initialize();

}

Thank you !



18.7k

Solve ! I Move my content to a main file and let {{ content() }} in the index file.