Default parent template to "index" and added sanity check if template exists.
This commit is contained in:
parent
20b0d55839
commit
d64251c098
2 changed files with 5 additions and 2 deletions
|
@ -121,7 +121,7 @@ class Module extends Object
|
|||
* @access protected
|
||||
* @var string, null by default
|
||||
*/
|
||||
protected $template = null;
|
||||
protected $template = 'index';
|
||||
|
||||
/**
|
||||
* Request Data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue