how to add resource to already existing controller laravel code example Example: resource controller laravel Route::resource('photos', PhotoController::class);