Laravel, PHP, Web Development.
define a single resource route, which creates routes for all of those resource controller actions. In the routes configuration file — app/Http/routes.php — add the following to define a Car resource route: Route::resource('cars', 'CarController'); That single route definition will define all of the