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 comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.