diff options
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');
|