aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 25e69820..b7799746 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -199,7 +199,7 @@ class ConfigController extends Controller
199 * 199 *
200 * @return \Symfony\Component\HttpFoundation\RedirectResponse 200 * @return \Symfony\Component\HttpFoundation\RedirectResponse
201 */ 201 */
202 public function deleteTaggingRule(TaggingRule $rule) 202 public function deleteTaggingRuleAction(TaggingRule $rule)
203 { 203 {
204 if ($this->getUser()->getId() != $rule->getConfig()->getUser()->getId()) { 204 if ($this->getUser()->getId() != $rule->getConfig()->getUser()->getId()) {
205 throw $this->createAccessDeniedException('You can not access this tagging ryle.'); 205 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 3e1b512f..ea77d138 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -9,7 +9,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
9use Symfony\Component\HttpFoundation\Request; 9use Symfony\Component\HttpFoundation\Request;
10use Symfony\Component\Routing\Generator\UrlGeneratorInterface; 10use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
11use Wallabag\CoreBundle\Entity\Entry; 11use Wallabag\CoreBundle\Entity\Entry;
12use Wallabag\CoreBundle\Filter\EntryFilterType; 12use Wallabag\CoreBundle\Form\Type\EntryFilterType;
13use Wallabag\CoreBundle\Form\Type\EditEntryType; 13use Wallabag\CoreBundle\Form\Type\EditEntryType;
14use Wallabag\CoreBundle\Form\Type\NewEntryType; 14use Wallabag\CoreBundle\Form\Type\NewEntryType;
15 15
@@ -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'));