асас
use App\Http\Controllers\PhotoController;
Route::resource('photos', PhotoController::class);
Lazy Lion
use App\Http\Controllers\PhotoController;
Route::resource('photos', PhotoController::class);