Skip to content

Commit 8e3f9e0

Browse files
authored
Merge pull request #5502 from kenjis/fix-docs-common_functions.rst
docs: improve common_functions.rst
2 parents db7d84d + a01b331 commit 8e3f9e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/general/common_functions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,10 @@ Miscellaneous Functions
309309
// Go back to the previous page
310310
return redirect()->back();
311311

312-
// Go to specific UI
312+
// Go to specific URI
313313
return redirect()->to('/admin');
314314

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

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

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

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

0 commit comments

Comments
 (0)