add methods for EventPicture'

This commit is contained in:
2026-04-01 23:30:17 +02:00
parent 615c084995
commit 9ae484d584
5 changed files with 89 additions and 50 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ use App\Http\Controllers\ExportController;
use App\Http\Controllers\ProfilePhotoController;
Route::middleware('auth:sanctum')->group(function () {
Route::post('/profile-photo', [ProfilePhotoController::class, 'update']);
Route::delete('/profile-photo', [ProfilePhotoController::class, 'destroy']);
Route::get('/profile-photo', [ProfilePhotoController::class, 'show']);
Route::post('/profile-photo', [\App\Http\Controllers\UserController::class, 'updatePhoto']);
Route::delete('/profile-photo', [\App\Http\Controllers\UserController::class, 'destroy']);
Route::get('/profile-photo', [\App\Http\Controllers\UserController::class, 'show']);
});