diff options
Diffstat (limited to 'main/app/sprinkles/admin/routes/posts.php')
-rw-r--r-- | main/app/sprinkles/admin/routes/posts.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/main/app/sprinkles/admin/routes/posts.php b/main/app/sprinkles/admin/routes/posts.php deleted file mode 100644 index 79db113..0000000 --- a/main/app/sprinkles/admin/routes/posts.php +++ /dev/null @@ -1,18 +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 posting.
- */
-$app->get('/image/{post_id}', 'UserFrosting\Sprinkle\Admin\Controller\PostController:showImage')->add('authGuard');
-
-$app->get('/api/feed/{user_name}', 'UserFrosting\Sprinkle\Admin\Controller\PostController:getFeed')->add('authGuard');
-
-$app->group('/api/posts', function () {
- $this->post('/image', 'UserFrosting\Sprinkle\Admin\Controller\PostController:postImage');
-})->add('authGuard');
\ No newline at end of file |