Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions user_guide_src/source/general/common_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ Miscellaneous Functions
// Go back to the previous page
return redirect()->back();

// Go to specific UI
// Go to specific URI
return redirect()->to('/admin');

// Go to a named/reverse-routed URI
// Go to a named route
return redirect()->route('named_route');

// Keep the old input values upon redirect so they can be used by the `old()` function
Expand All @@ -328,7 +328,7 @@ Miscellaneous Functions
return redirect()->back()->withHeaders();

When passing an argument into the function, it is treated as a named/reverse-routed route, not a relative/full URI,
treating it the same as using redirect()->route()::
treating it the same as using ``redirect()->route()``::

// Go to a named/reverse-routed URI
return redirect('named_route');
Expand Down