diff --git a/routes/routes.php b/routes/routes.php index 687e00a..7a17f18 100644 --- a/routes/routes.php +++ b/routes/routes.php @@ -12,4 +12,8 @@ use UserFrosting\Sprinkle\Core\Util\NoCache; $app->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());