Example #1
0
 /**
  * checkAccess
  *
  * @return  void
  *
  * @throws  RouteNotFoundException
  * @throws  \Exception
  */
 protected function checkAccess()
 {
     // Add your access checking
     if (!UserHelper::authorise()) {
         UserHelper::goToLogin($this->app->uri->full);
     }
 }