diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-10 12:33:58 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-21 11:44:35 +0200 |
commit | 25203e5081c8da21869db1d16610f83f888249b5 (patch) | |
tree | 3e6f460b2e7d5e745113bbdfca3e2b2bc566a7d8 /src/Wallabag/CoreBundle/Controller/RssController.php | |
parent | 80784b782becfaa297e6d9cbb0584e27739cffc8 (diff) | |
download | wallabag-25203e5081c8da21869db1d16610f83f888249b5.tar.gz wallabag-25203e5081c8da21869db1d16610f83f888249b5.tar.zst wallabag-25203e5081c8da21869db1d16610f83f888249b5.zip |
User existing service instead of getDoctrine
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/RssController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/RssController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/RssController.php b/src/Wallabag/CoreBundle/Controller/RssController.php index 92f18707..5f7502fc 100644 --- a/src/Wallabag/CoreBundle/Controller/RssController.php +++ b/src/Wallabag/CoreBundle/Controller/RssController.php | |||
@@ -66,7 +66,7 @@ class RssController extends Controller | |||
66 | */ | 66 | */ |
67 | private function showEntries($type, User $user, $page = 1) | 67 | private function showEntries($type, User $user, $page = 1) |
68 | { | 68 | { |
69 | $repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entry'); | 69 | $repository = $this->get('wallabag_core.entry_repository'); |
70 | 70 | ||
71 | switch ($type) { | 71 | switch ($type) { |
72 | case 'starred': | 72 | case 'starred': |