aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/core/routes/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/core/routes/routes.php')
-rw-r--r--main/app/sprinkles/core/routes/routes.php54
1 files changed, 27 insertions, 27 deletions
diff --git a/main/app/sprinkles/core/routes/routes.php b/main/app/sprinkles/core/routes/routes.php
index 9b8c7db..1d0307c 100644
--- a/main/app/sprinkles/core/routes/routes.php
+++ b/main/app/sprinkles/core/routes/routes.php
@@ -1,27 +1,27 @@
-<?php
-/**
- * UserFrosting (http://www.userfrosting.com)
- *
- * @link https://github.com/userfrosting/UserFrosting
- * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
- */
-
-global $app;
-$config = $app->getContainer()->get('config');
-
-$app->get('/', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageIndex')
- ->add('checkEnvironment')
- ->add('authGuard')
- ->setName('index');
-
-$app->get('/test', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageTest');
-
-$app->get('/about', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageAbout')->add('checkEnvironment');
-
-$app->get('/alerts', 'UserFrosting\Sprinkle\Core\Controller\CoreController:jsonAlerts');
-
-$app->get('/legal', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageLegal');
-
-$app->get('/privacy', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pagePrivacy');
-
-$app->get('/' . $config['assets.raw.path'] . '/{url:.+}', 'UserFrosting\Sprinkle\Core\Controller\CoreController:getAsset');
+<?php
+/**
+ * UserFrosting (http://www.userfrosting.com)
+ *
+ * @link https://github.com/userfrosting/UserFrosting
+ * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
+ */
+
+global $app;
+$config = $app->getContainer()->get('config');
+
+$app->get('/', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageIndex')
+ ->add('checkEnvironment')
+ ->add('authGuard')
+ ->setName('index');
+
+$app->get('/test', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageTest');
+
+$app->get('/about', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageAbout')->add('checkEnvironment');
+
+$app->get('/alerts', 'UserFrosting\Sprinkle\Core\Controller\CoreController:jsonAlerts');
+
+$app->get('/legal', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pageLegal');
+
+$app->get('/privacy', 'UserFrosting\Sprinkle\Core\Controller\CoreController:pagePrivacy');
+
+$app->get('/' . $config['assets.raw.path'] . '/{url:.+}', 'UserFrosting\Sprinkle\Core\Controller\CoreController:getAsset');