Skip to content

Commit 6dc05bb

Browse files
committed
docs: update sample code
1 parent 389eaaa commit 6dc05bb

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
@@ -82,7 +82,7 @@ When you want to pass a URI path (relative to baseURL), use ``redirect()->to()``
8282
:lines: 2-
8383

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

8787
Redirect to a Defined Route
8888
---------------------------

0 commit comments

Comments
 (0)