ErrorController: Set $this->rerenderLayout in init()
Solves the issue that when being redirected directly after login or any other route which causes the layout being rerendered, we are only presented with the inline layout of the error controller.
This commit is contained in:
parent
f6166b3ab6
commit
08095ad5e8
|
@ -24,6 +24,14 @@ class ErrorController extends ActionController
|
|||
*/
|
||||
protected $requiresAuthentication = false;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->rerenderLayout = $this->params->has('renderLayout');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display exception
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue