diff options
author | Marvin Borner | 2018-06-08 20:03:25 +0200 |
---|---|---|
committer | Marvin Borner | 2018-06-08 20:03:25 +0200 |
commit | 92b7dd3335a6572debeacfb5faa82c63a5e67888 (patch) | |
tree | 7ebbca22595d542ec5e2912a24a0400ac8f6b113 /main/app/sprinkles/admin/routes/admin.php | |
parent | 22a1bb27f94ea33042b0bdd35bef1a5cfa96cc0d (diff) |
Some minor fixes
Diffstat (limited to 'main/app/sprinkles/admin/routes/admin.php')
-rw-r--r-- | main/app/sprinkles/admin/routes/admin.php | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/main/app/sprinkles/admin/routes/admin.php b/main/app/sprinkles/admin/routes/admin.php index e469e4a..2669097 100644 --- a/main/app/sprinkles/admin/routes/admin.php +++ b/main/app/sprinkles/admin/routes/admin.php @@ -1,23 +1,23 @@ -<?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) - */ - -/** - * Routes for administrative panel management. - */ -$app->group('/dashboard', function () { - $this->get('', 'UserFrosting\Sprinkle\Admin\Controller\AdminController:pageDashboard') - ->setName('dashboard'); -})->add('authGuard'); - -$app->group('/api/dashboard', function () { - $this->post('/clear-cache', 'UserFrosting\Sprinkle\Admin\Controller\AdminController:clearCache'); -})->add('authGuard'); - -$app->group('/modals/dashboard', function () { - $this->get('/clear-cache', 'UserFrosting\Sprinkle\Admin\Controller\AdminController:getModalConfirmClearCache'); -})->add('authGuard'); +<?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)
+ */
+
+/**
+ * Routes for administrative panel management.
+ */
+$app->group('/dashboard', function () {
+ $this->get('', 'UserFrosting\Sprinkle\Admin\Controller\AdminController:pageDashboard')
+ ->setName('dashboard');
+})->add('authGuard');
+
+$app->group('/api/dashboard', function () {
+ $this->post('/clear-cache', 'UserFrosting\Sprinkle\Admin\Controller\AdminController:clearCache');
+})->add('authGuard');
+
+$app->group('/modals/dashboard', function () {
+ $this->get('/clear-cache', 'UserFrosting\Sprinkle\Admin\Controller\AdminController:getModalConfirmClearCache');
+})->add('authGuard');
|