summaryrefslogtreecommitdiff
path: root/config/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.php')
-rw-r--r--config/routes.php5
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