@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | $app->get('/', 'app.controller:home')->setName('home'); |
4 | 4 | |
5 | -$app->group('', function () { |
|
5 | +$app->group('', function() { |
|
6 | 6 | $this->map(['GET', 'POST'], '/login', 'auth.controller:login')->setName('login'); |
7 | 7 | $this->map(['GET', 'POST'], '/register', 'auth.controller:register')->setName('register'); |
8 | 8 | })->add($container['guest.middleware']); |