ShowController: allow for "better" exceptions...
...when rendering objects
This commit is contained in:
parent
6dee2d0733
commit
c91919a1c2
|
@ -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>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue