diff options
Diffstat (limited to 'api/Posts/routes.php')
-rw-r--r-- | api/Posts/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/Posts/routes.php b/api/Posts/routes.php index c34c120..c3b90e4 100644 --- a/api/Posts/routes.php +++ b/api/Posts/routes.php @@ -1,5 +1,5 @@ <?php - +// type [text, media] as get parameter (/posts?type=media,text) $router->get('/posts', 'PostController@getAll'); $router->get('/posts/{id}', 'PostController@getById'); $router->post('/posts', 'PostController@create'); |