diff --git a/src/View/CrudView.php b/src/View/CrudView.php index 56a590f2..cb19d3dc 100644 --- a/src/View/CrudView.php +++ b/src/View/CrudView.php @@ -200,8 +200,11 @@ protected function _getViewFileName($name = null) } catch (MissingTemplateException $exception) { $this->subDir = null; $this->templatePath = 'Scaffold'; - + } + try { return parent::_getViewFileName($this->template); + } catch (MissingTemplateException $exception) { + return parent::_getViewFileName($name); } } }