summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@etu.unistra.fr>2021-01-17 19:51:17 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commit08171bb42de718cda797462b9f5de029ce82afb9 (patch)
treedc3b803582792b687d5454a412073cdff3eab652 /appinfo
parent527eef0727e3bfceb53f209bc74d096626eb1a6b (diff)
✨ NewsItem: add share routes + controller func
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index a50f4a5b7..534f37540 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -52,6 +52,7 @@ return ['routes' => [
['name' => 'item#read', 'url' => '/items/{itemId}/read', 'verb' => 'POST'],
['name' => 'item#read_multiple', 'url' => '/items/read/multiple', 'verb' => 'POST'],
['name' => 'item#star', 'url' => '/items/{feedId}/{guidHash}/star', 'verb' => 'POST'],
+['name' => 'item#share', 'url' => '/items/{itemId}/share/{shareWithId}', 'verb' => 'POST'],
// export
['name' => 'export#opml', 'url' => '/export/opml', 'verb' => 'GET'],