aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/TagController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/TagController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/TagController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php
index e8e9ecbe..16d14d79 100644
--- a/src/Wallabag/CoreBundle/Controller/TagController.php
+++ b/src/Wallabag/CoreBundle/Controller/TagController.php
@@ -65,7 +65,9 @@ class TagController extends Controller
65 } 65 }
66 $em->flush(); 66 $em->flush();
67 67
68 return $this->redirect($request->headers->get('referer')); 68 $redirectUrl = $this->get('wallabag_core.helper.redirect')->to($request->headers->get('referer'));
69
70 return $this->redirect($redirectUrl);
69 } 71 }
70 72
71 /** 73 /**