/** * Display user profile */ public function indexAction() { if ($this->auth->loggedIn()) { // Logged in } else { parent::noAccess('user/signin'); } }
public function noAction() { return parent::notFound(); }