Hello,
I have an afterExecuteRoute
route set up in my base Controller class. To redirect, I use:
$this->response->redirect('login');
$this->view->disable();
return;
I track XDebug and notice afterExecuteRoute
still executes after the redirect code.
How do I prevent this method from firing when I redirect?