add methods for EventPicture'
This commit is contained in:
1 parent
615c084995
commit
9ae484d584
5 files changed
+89
-50
No files matched your search
@@ -34,3 +34,9 @@ Route::middleware(['web', 'auth:sanctum'])->get('/events/search', [SearchControl
|
||||
Route::middleware(['web', 'auth:sanctum'])->get('/events/{id}', [EventsController::class, "getEvent"]);
|
||||
|
||||
Route::middleware(['web', 'auth:sanctum'])->get('/events/tasks/{id}/assigned', [EventsController::class, "isUserAssigned"]);
|
||||
|
||||
Route::middleware(['web', 'auth:sanctum'])->get('/events/{id}/photo', [EventsController::class, 'show']);
|
||||
|
||||
Route::middleware(['web', 'auth:sanctum'])->post('/events/{id}/photo/update', [EventsController::class, 'updatePhoto']);
|
||||
|
||||
Route::middleware(['web', 'auth:sanctum'])->delete('/events/{id}/photo', [EventsController::class, 'destroy']);
|
||||
Reference in new issue
Block a user