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