aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/extend-user/routes/member.php
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/extend-user/routes/member.php')
-rwxr-xr-xmain/app/sprinkles/extend-user/routes/member.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/app/sprinkles/extend-user/routes/member.php b/main/app/sprinkles/extend-user/routes/member.php
new file mode 100755
index 0000000..19028ac
--- /dev/null
+++ b/main/app/sprinkles/extend-user/routes/member.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Routes for administrative user management. Overrides routes defined in routes://admin/users.php
+ */
+$app->group('/admin/users', function () {
+ $this->get('/u/{user_name}', 'UserFrosting\Sprinkle\ExtendUser\Controller\MemberController:pageInfo');
+})->add('authGuard'); \ No newline at end of file