aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-01-20 17:16:17 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-01-22 21:12:11 +0100
commit5f8a785719c1dfeacc0bccc0781a94bd396b80ff (patch)
treeaf9c1d71d44c21359ea9e6601700039700a7f824 /src/Wallabag/CoreBundle/Controller
parentb0b893eafd3c1d66b8681a4a6420603af42ec084 (diff)
downloadwallabag-5f8a785719c1dfeacc0bccc0781a94bd396b80ff.tar.gz
wallabag-5f8a785719c1dfeacc0bccc0781a94bd396b80ff.tar.zst
wallabag-5f8a785719c1dfeacc0bccc0781a94bd396b80ff.zip
SensioLabsInsight fixes
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 6c375909..b01aaa7f 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -198,7 +198,7 @@ class ConfigController extends Controller
198 * 198 *
199 * @return \Symfony\Component\HttpFoundation\RedirectResponse 199 * @return \Symfony\Component\HttpFoundation\RedirectResponse
200 */ 200 */
201 public function deleteTaggingRule(TaggingRule $rule) 201 public function deleteTaggingRuleAction(TaggingRule $rule)
202 { 202 {
203 if ($this->getUser()->getId() != $rule->getConfig()->getUser()->getId()) { 203 if ($this->getUser()->getId() != $rule->getConfig()->getUser()->getId()) {
204 throw $this->createAccessDeniedException('You can not access this tagging ryle.'); 204 throw $this->createAccessDeniedException('You can not access this tagging ryle.');
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index 747976e3..ea77d138 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -81,7 +81,7 @@ class EntryController extends Controller
81 * 81 *
82 * @return \Symfony\Component\HttpFoundation\Response 82 * @return \Symfony\Component\HttpFoundation\Response
83 */ 83 */
84 public function addEntryViaBookmarklet(Request $request) 84 public function addEntryViaBookmarkletAction(Request $request)
85 { 85 {
86 $entry = new Entry($this->getUser()); 86 $entry = new Entry($this->getUser());
87 $entry->setUrl($request->get('url')); 87 $entry->setUrl($request->get('url'));