асас

use App\Http\Controllers\PhotoController;

Route::resource('photos', PhotoController::class);
Lazy Lion