diff options
Diffstat (limited to 'config/routes.php')
-rw-r--r-- | config/routes.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/routes.php b/config/routes.php index 6cc0ce8b..e999d026 100644 --- a/config/routes.php +++ b/config/routes.php @@ -1,14 +1,11 @@ <?php -use Engelsystem\Http\Exceptions\HttpTemporaryRedirect; use FastRoute\RouteCollector; /** @var RouteCollector $route */ // Pages -$route->get('/', function () { - throw new HttpTemporaryRedirect(auth()->user() ? config('home_site') : 'login'); -}); +$route->get('/', 'HomeController@index'); $route->get('/credits', 'CreditsController@index'); // Authentication |