aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/routes/permissions.php
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/admin/routes/permissions.php')
-rw-r--r--main/app/sprinkles/admin/routes/permissions.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/main/app/sprinkles/admin/routes/permissions.php b/main/app/sprinkles/admin/routes/permissions.php
deleted file mode 100644
index 4df04c8..0000000
--- a/main/app/sprinkles/admin/routes/permissions.php
+++ /dev/null
@@ -1,25 +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 permission management.
- */
-$app->group('/permissions', function () {
- $this->get('', 'UserFrosting\Sprinkle\Admin\Controller\PermissionController:pageList')
- ->setName('uri_permissions');
-
- $this->get('/p/{id}', 'UserFrosting\Sprinkle\Admin\Controller\PermissionController:pageInfo');
-})->add('authGuard');
-
-$app->group('/api/permissions', function () {
- $this->get('', 'UserFrosting\Sprinkle\Admin\Controller\PermissionController:getList');
-
- $this->get('/p/{id}', 'UserFrosting\Sprinkle\Admin\Controller\PermissionController:getInfo');
-
- $this->get('/p/{id}/users', 'UserFrosting\Sprinkle\Admin\Controller\PermissionController:getUsers');
-})->add('authGuard');