Error Controller: Move close tab creation to template
This commit is contained in:
parent
190c1e8f04
commit
8c24dde17b
|
@ -19,7 +19,6 @@ class ErrorController extends ActionController
|
|||
{
|
||||
$error = $this->_getParam('error_handler');
|
||||
$exception = $error->exception;
|
||||
$this->getTabs()->showOnlyCloseButton();
|
||||
|
||||
Logger::error($exception);
|
||||
Logger::error('Stacktrace: %s', $exception->getTraceAsString());
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs->render($this) ?>
|
||||
<?= $this->tabs->showOnlyCloseButton() ?>
|
||||
<?php if ($this->title): ?>
|
||||
<h1><?= $this->escape($title) ?></h1>
|
||||
<?php endif ?>
|
||||
|
|
Loading…
Reference in New Issue