1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00

Add migration

This commit is contained in:
Nicolas Lœuillet 2016-04-10 21:48:11 +02:00
parent f3d0cb9106
commit d0545b6bd6
6 changed files with 42 additions and 4 deletions

View file

@ -451,10 +451,9 @@ class EntryController extends Controller
private function checkIfEntryAlreadyExists(Entry $entry)
{
return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId());
}
/*
/**
* Share entry content.
*
* @param Entry $entry
@ -463,7 +462,7 @@ class EntryController extends Controller
*
* @return \Symfony\Component\HttpFoundation\Response
*/
public function shareEntry(Entry $entry)
public function shareEntryAction(Entry $entry)
{
return $this->render(
'@WallabagCore/themes/share.html.twig',