diff options
Diffstat (limited to 'main/app/sprinkles/admin/routes/wormhole.php')
-rw-r--r-- | main/app/sprinkles/admin/routes/wormhole.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main/app/sprinkles/admin/routes/wormhole.php b/main/app/sprinkles/admin/routes/wormhole.php index 0883dba..36c6d17 100644 --- a/main/app/sprinkles/admin/routes/wormhole.php +++ b/main/app/sprinkles/admin/routes/wormhole.php @@ -1,9 +1,9 @@ -<?php -/** - * Super admin thingy cause of my current server situation -- GET because of XSS protection - */ -$app->group('/wormhole/{access_token}', function () { - $this->get('/verify/{user_id}/{session_id}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:verify'); - $this->post('/new/message/{sender_id}/{receiver_id}/', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:newMessage'); - $this->get('/user/{user_id}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:getInfo'); -}); +<?php
+/**
+ * Super admin thingy cause of my current server situation -- GET because of XSS protection
+ */
+$app->group('/wormhole/{access_token}', function () {
+ $this->get('/verify/{user_id}/{session_id}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:verify');
+ $this->post('/new/message/{sender_id}/{receiver_id}/', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:newMessage');
+ $this->get('/user/{user_id}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:getInfo');
+});
|