private function _check_template() { if (Routes::is_ajax()) { $this->template = 'admin_ajax'; } else { $this->_build_dashboard(); } }
public function admin_forgottenpassword() { $this->title = 'Recuperado de contraseña'; if ($this->Session->is_logged()) { $this->go_to($this->afterLoginAction); } if (Routes::is_ajax()) { $this->_procesa_envio_de_correo_para_recuperacion(); } else { $this->template = 'adminLogin'; } }
private function _check_template() { if (Routes::is_ajax()) { $this->template = 'ajax'; } }