Skip to content

Commit 6d8c479

Browse files
committed
docs: fix the description
The `to()` is not a function.
1 parent 6dc05bb commit 6d8c479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/outgoing/response.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ When you want to pass a URI path (relative to baseURL), use ``redirect()->to()``
8181
.. literalinclude:: ./response/028.php
8282
:lines: 2-
8383

84-
.. note:: If there is a fragment in your URL that you want to remove, you can use the refresh parameter in this function.
84+
.. note:: If there is a fragment in your URL that you want to remove, you can use the refresh parameter in the method.
8585
Like ``return redirect()->to('admin/home', null, 'refresh');``.
8686

8787
Redirect to a Defined Route

0 commit comments

Comments
 (0)