1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-27 17:28:39 +00:00

Moved Pocket token to user config

This commit is contained in:
Jeremy Benoist 2016-09-16 22:22:25 +02:00
parent 4fc998245c
commit ebe0787e09
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
34 changed files with 161 additions and 44 deletions

View file

@ -44,7 +44,7 @@ class PocketController extends Controller
return $this->render('WallabagImportBundle:Pocket:index.html.twig', [
'import' => $this->getPocketImportService(),
'has_consumer_key' => '' == trim($this->get('craue_config')->get('pocket_consumer_key')) ? false : true,
'has_consumer_key' => '' === trim($this->getUser()->getConfig()->getPocketConsumerKey()) ? false : true,
'form' => $form->createView(),
]);
}