Skip to content
Permalink
Browse files

Use View class when rendering error page for nested errors.

Fixes #9830
  • Loading branch information...
ADmad committed Dec 2, 2016
1 parent e7a3d40 commit 18e5d31a8a5bd6f875790a930e3ff6d2be106f93
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Error/ExceptionRenderer.php
@@ -352,7 +352,7 @@ protected function _outputMessageSafe($template)
$builder->helpers($helpers, false)
->layoutPath('')
->templatePath('Error');
$view = $this->controller->createView();
$view = $this->controller->createView('View');
$this->controller->response->body($view->render($template, 'error'));
$this->controller->response->type('html');

0 comments on commit 18e5d31

Please sign in to comment.
You can’t perform that action at this time.