Replies: 2 comments
-
As mentioned in docs you can use this: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Route::redirect('/path', \route('route.name')); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
Currently,
Route::redirect
accept and URI as destination as shown in documentationI think it might be interesting to allow the use of a route name, to avoid this longer syntax :
Which could then be replaced as follows
Route::redirect('/path', 'route.name');
Beta Was this translation helpful? Give feedback.
All reactions