+1 vote
in Laravel by
How to create a route for resources in laravel?

1 Answer

0 votes
by
For creating a resource route we can use the below command:

Route::resource('blogs', BlogController::class);

This will create routes for six actions index, create, store, show, edit, update and delete.

Related questions

+2 votes
asked Jul 10, 2021 in Laravel by SakshiSharma
+2 votes
asked Jul 11, 2021 in Laravel by rajeshsharma
...