This commit is contained in:
Jeremy Benoist 2016-09-25 12:03:12 +02:00
parent 401135852c
commit 82fc3290d4
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 4 additions and 6 deletions

View file

@ -122,7 +122,7 @@ class TagController extends Controller
}
}
return $this->render('WallabagCoreBundle:Entry:entries.html.twig',[
return $this->render('WallabagCoreBundle:Entry:entries.html.twig', [
'form' => null,
'entries' => $entries,
'currentPage' => $page,

View file

@ -95,10 +95,9 @@ class ContentProxy
* Assign some tags to an entry.
*
* @param Entry $entry
* @param array|string $tags An array of tag or a string coma separated of tag
* @param array $entitiesReady Entities from the EntityManager which are persisted but not yet flushed
* It is mostly to fix duplicate tag on import
* @see http://stackoverflow.com/a/7879164/569101
* @param array|string $tags An array of tag or a string coma separated of tag
* @param array $entitiesReady Entities from the EntityManager which are persisted but not yet flushed
* It is mostly to fix duplicate tag on import @see http://stackoverflow.com/a/7879164/569101
*/
public function assignTagsToEntry(Entry $entry, $tags, array $entitiesReady = [])
{

View file

@ -2,7 +2,6 @@
namespace Wallabag\CoreBundle\Twig;
use Doctrine\ORM\Query;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\CoreBundle\Repository\EntryRepository;
use Wallabag\CoreBundle\Repository\TagRepository;