group('/jobs', function () { $this->get('', 'UserFrosting\Sprinkle\Worker\Controller\JobController:pageList') ->setName('uri_permissions'); })->add('authGuard')->add(new NoCache()); $app->group('/api/jobs', function () { $this->get('', 'UserFrosting\Sprinkle\Worker\Controller\JobController:getList'); })->add('authGuard')->add(new NoCache());