public function before() { if ($this->request->action() == 'login') { $this->_login_route = NULL; } parent::before(); }
function before() { parent::before(); $this->company = Kohana::config('company'); if ($this->view instanceof View) { $this->view->bind_global('company', $this->company); } }