summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-02-22 23:17:33 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-02-22 23:17:33 -0100
commit3c1def1d1c5a64ebeeabcd46893aae6fc602c1ab (patch)
tree122cced82f560d363ef819ba7624b93b05155ca9 /appinfo
parent9ac8eb965b930110d0ec42d56988a10adf1e3f96 (diff)
fixing route/controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 33562323..60fbd98b 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -71,6 +71,8 @@ return [
['name' => 'Local#postCreate', 'url' => '/api/v1/post', 'verb' => 'POST'],
['name' => 'Local#postDelete', 'url' => '/api/v1/post', 'verb' => 'DELETE'],
+ ['name' => 'Local#postBoost', 'url' => '/api/v1/post/boost', 'verb' => 'POST'],
+
['name' => 'Local#actionFollow', 'url' => '/api/v1/current/follow', 'verb' => 'PUT'],
['name' => 'Local#actionUnfollow', 'url' => '/api/v1/current/follow', 'verb' => 'DELETE'],