laravel contrler route code example
Example: Route::resource('/posts','PostController');
Route::resources([
'photos' => 'PhotoController',
'posts' => 'PostController',
]);
Route::resources([
'photos' => 'PhotoController',
'posts' => 'PostController',
]);