diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-10 21:48:11 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-23 16:49:21 +0200 |
commit | d0545b6bd6edc38bf06604900b1e20a60e7c8583 (patch) | |
tree | b137a06de8859e501b658a3e3f78f316332a051b /src/Wallabag/CoreBundle/Controller | |
parent | f3d0cb91063840f2b05c63954d3fef3e5b8943fd (diff) | |
download | wallabag-d0545b6bd6edc38bf06604900b1e20a60e7c8583.tar.gz wallabag-d0545b6bd6edc38bf06604900b1e20a60e7c8583.tar.zst wallabag-d0545b6bd6edc38bf06604900b1e20a60e7c8583.zip |
Add migration
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index a78dd00c..e3b4b1eb 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -451,10 +451,9 @@ class EntryController extends Controller | |||
451 | private function checkIfEntryAlreadyExists(Entry $entry) | 451 | private function checkIfEntryAlreadyExists(Entry $entry) |
452 | { | 452 | { |
453 | return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId()); | 453 | return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId()); |
454 | |||
455 | } | 454 | } |
456 | 455 | ||
457 | /* | 456 | /** |
458 | * Share entry content. | 457 | * Share entry content. |
459 | * | 458 | * |
460 | * @param Entry $entry | 459 | * @param Entry $entry |
@@ -463,7 +462,7 @@ class EntryController extends Controller | |||
463 | * | 462 | * |
464 | * @return \Symfony\Component\HttpFoundation\Response | 463 | * @return \Symfony\Component\HttpFoundation\Response |
465 | */ | 464 | */ |
466 | public function shareEntry(Entry $entry) | 465 | public function shareEntryAction(Entry $entry) |
467 | { | 466 | { |
468 | return $this->render( | 467 | return $this->render( |
469 | '@WallabagCore/themes/share.html.twig', | 468 | '@WallabagCore/themes/share.html.twig', |