aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/EntryController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/EntryController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index 2c4b5536..13b23b61 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -240,13 +240,13 @@ class EntryController extends Controller
240 * 240 *
241 * @param int $page 241 * @param int $page
242 * 242 *
243 * @Route("/with_annotations/list/{page}", name="with_annotations", defaults={"page" = "1"}) 243 * @Route("/annotated/list/{page}", name="annotated", defaults={"page" = "1"})
244 * 244 *
245 * @return \Symfony\Component\HttpFoundation\Response 245 * @return \Symfony\Component\HttpFoundation\Response
246 */ 246 */
247 public function showWithAnnotationsEntriesAction(Request $request, $page) 247 public function showWithAnnotationsEntriesAction(Request $request, $page)
248 { 248 {
249 return $this->showEntries('with_annotations', $request, $page); 249 return $this->showEntries('annotated', $request, $page);
250 } 250 }
251 251
252 /** 252 /**
@@ -254,7 +254,7 @@ class EntryController extends Controller
254 * 254 *
255 * @param string $type 255 * @param string $type
256 * 256 *
257 * @Route("/{type}/random", name="random_entry", requirements={"type": "unread|starred|archive|untagged|with_annotations|all"}) 257 * @Route("/{type}/random", name="random_entry", requirements={"type": "unread|starred|archive|untagged|annotated|all"})
258 * 258 *
259 * @return \Symfony\Component\HttpFoundation\RedirectResponse 259 * @return \Symfony\Component\HttpFoundation\RedirectResponse
260 */ 260 */
@@ -517,7 +517,7 @@ class EntryController extends Controller
517 case 'archive': 517 case 'archive':
518 $qb = $repository->getBuilderForArchiveByUser($this->getUser()->getId()); 518 $qb = $repository->getBuilderForArchiveByUser($this->getUser()->getId());
519 break; 519 break;
520 case 'with_annotations': 520 case 'annotated':
521 $qb = $repository->getBuilderForAnnotationsByUser($this->getUser()->getId()); 521 $qb = $repository->getBuilderForAnnotationsByUser($this->getUser()->getId());
522 break; 522 break;
523 case 'unread': 523 case 'unread':