mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
Add migration
This commit is contained in:
parent
f3d0cb9106
commit
d0545b6bd6
6 changed files with 42 additions and 4 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue