group('/account', function () { $this->get('/settings', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:pageSettings') ->add('authGuard'); $this->get('/register', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:pageRegister') ->add('checkEnvironment') ->setName('register'); })->add(new NoCache());