aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/core/routes/routes.php
diff options
context:
space:
mode:
authormarvin-borner@live.com2018-04-22 16:54:30 +0200
committermarvin-borner@live.com2018-04-22 16:54:30 +0200
commit2fdb14bb97e4f2dbf36b632ec891772bebe41b7d (patch)
tree381a7875540bb210cb86954870c14e8b6465c3ff /main/app/sprinkles/core/routes/routes.php
parentaad9b3116ce1158bc43c41b1eb6c78fc42d6c038 (diff)
parent9786120e568278ae8e3af33fc5d86dcc0798f258 (diff)
Merge branch 'master' of github.com:marvinborner/SocialNetwork
Diffstat (limited to 'main/app/sprinkles/core/routes/routes.php')
-rw-r--r--[-rwxr-xr-x]main/app/sprinkles/core/routes/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/app/sprinkles/core/routes/routes.php b/main/app/sprinkles/core/routes/routes.php
index 3598b7e..56a72ea 100755..100644
--- a/main/app/sprinkles/core/routes/routes.php
+++ b/main/app/sprinkles/core/routes/routes.php
@@ -11,6 +11,7 @@ $config = $app->getContainer()->get('config');
$app->get('/', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageIndex')
->add('checkEnvironment')
+ ->add('authGuard')
->setName('index');
$app->get('/about','UserFrosting\Sprinkle\Core\Controller\CoreController:pageAbout')->add('checkEnvironment');