diff options
Diffstat (limited to 'main/app/sprinkles/admin/routes/admin.php')
-rw-r--r-- | main/app/sprinkles/admin/routes/admin.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/main/app/sprinkles/admin/routes/admin.php b/main/app/sprinkles/admin/routes/admin.php deleted file mode 100644 index 2669097..0000000 --- a/main/app/sprinkles/admin/routes/admin.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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');
|