public function before() { parent::before(); if ($this->autoRender === true) { $this->registerMedia(); } }
public function before() { parent::before(); if ($this->autoRender === TRUE) { $this->registerMedia(); } \View::share('adminDir', \CMS::backendPath()); \View::share('controllerAction', $this->getCurrentAction()); \View::share('currentUser', $this->currentUser); }