Login
Remember
Register
Ask a Question
How to create a route for resources in laravel?
+1
vote
asked
Jul 12, 2021
in
Laravel
by
sharadyadav1986
How to create a route for resources in laravel?
ceate-route
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 12, 2021
by
sharadyadav1986
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.
...