Make {{ this.controller }} available

This commit is contained in:
Sam Georges 2014-06-24 20:47:30 +10:00
parent ca30c3cef0
commit ddfab72ecc
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ class Controller extends BaseController
* The 'this' variable is reserved for default variables.
*/
$this->vars['this'] = [
'controller' => $this,
'layout' => $this->layout,
'page' => $this->page,
'param' => $this->router->getParameters(),