We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
redirect()->to()
1 parent 6c346b6 commit ccfbb3eCopy full SHA for ccfbb3e
1 file changed
user_guide_src/source/general/common_functions.rst
@@ -334,6 +334,10 @@ Miscellaneous Functions
334
.. literalinclude:: common_functions/005.php
335
:lines: 2-
336
337
+ .. note:: Usually this method will not clean up the fragment in the URL.
338
+ If there is a fragment in your URL that you want to remove, you can use the refresh parameter in this function.
339
+ Like ``return redirect()->to('to', null, 'refresh');```.
340
+
341
**Redirect to a Defined Route**
342
343
When you want to pass a :ref:`route name <using-named-routes>` or Controller::method
0 commit comments