aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-07-11 09:21:49 +0200
committerGitHub <noreply@github.com>2017-07-11 09:21:49 +0200
commitf39152ad6e62f1ea43f501e88a8839526d77ef6c (patch)
tree5bdf25175149ad32c99d956028cd81c1eed56642 /src/Wallabag/ApiBundle
parentc7fcca533d90f2c285b64ce7b2f1186273719fe7 (diff)
parenteeabca8090ebf9a084b6b823ddf7c6493b956d4c (diff)
downloadwallabag-f39152ad6e62f1ea43f501e88a8839526d77ef6c.tar.gz
wallabag-f39152ad6e62f1ea43f501e88a8839526d77ef6c.tar.zst
wallabag-f39152ad6e62f1ea43f501e88a8839526d77ef6c.zip
Merge pull request #3266 from egilli/export-domain-as-author
Use the article publisher as author for exported files
Diffstat (limited to 'src/Wallabag/ApiBundle')
-rw-r--r--src/Wallabag/ApiBundle/Controller/EntryRestController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php
index 8a206124..9277e1a1 100644
--- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php
@@ -180,6 +180,7 @@ class EntryRestController extends WallabagRestController
180 return $this->get('wallabag_core.helper.entries_export') 180 return $this->get('wallabag_core.helper.entries_export')
181 ->setEntries($entry) 181 ->setEntries($entry)
182 ->updateTitle('entry') 182 ->updateTitle('entry')
183 ->updateAuthor('entry')
183 ->exportAs($request->attributes->get('_format')); 184 ->exportAs($request->attributes->get('_format'));
184 } 185 }
185 186