ShowController: allow for "better" exceptions...

...when rendering objects
This commit is contained in:
Thomas Gelf 2016-05-25 15:36:56 +02:00
parent 6dee2d0733
commit c91919a1c2
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class ShowController extends ActionController
. ' <pre'
. ($object->disabled === 'y' ? ' class="disabled"' : '')
. '>'
. $this->view->escape((string) $object)
. $this->view->escape($object->toConfigString())
. '</pre>';
}