Skip to content

Commit

Permalink
Merge pull request #206 from hmic/patch-2
Browse files Browse the repository at this point in the history
Template selection options not working
  • Loading branch information
ADmad authored Sep 2, 2017
2 parents 1f5b7c9 + 2667370 commit 6ff3b0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/View/CrudView.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 6ff3b0b

Please sign in to comment.