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