We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ba800 commit 71d6ab1Copy full SHA for 71d6ab1
controller.rst
@@ -176,6 +176,9 @@ and ``redirect()`` methods::
176
// redirects to a route with parameters
177
return $this->redirectToRoute('blog_show', array('slug' => 'my-page'));
178
179
+ // redirects to a route and mantains the original query string parameters
180
+ return $this->redirectToRoute('blog_show', $request->query->all());
181
+
182
// redirects externally
183
return $this->redirect('http://symfony.com/doc');
184
}
0 commit comments