return redirect()->action('PostController@show', ['slug' => $slug]);
Similar Post
- Redirect to Named Route in Laravel
Learn how to redirect to a specific controller method in Laravel as an alternative to route naming
Created on Aug 17, 2021
•194 views
return redirect()->action('PostController@show', ['slug' => $slug]);
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for Redirect to Specific Controller Method in Laravel
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View Components1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago