Using Route Resource for RESTful routes in Laravel 5

To have laravel automatically generate all the REST routes for a controller, useĀ Route::resource()

Route::resource('users', 'UsersController');

 

Leave a Reply

Your email address will not be published. Required fields are marked *