Enable guest photo deletion and ownership flags
This commit is contained in:
@@ -197,6 +197,9 @@ Route::prefix('v1')->name('api.v1.')->group(function () {
|
||||
Route::post('/events/{token}/photos/{photo}/share', [EventPublicController::class, 'createShareLink'])
|
||||
->whereNumber('photo')
|
||||
->name('photos.share');
|
||||
Route::delete('/events/{token}/photos/{photo}', [EventPublicController::class, 'destroyPhoto'])
|
||||
->whereNumber('photo')
|
||||
->name('events.photos.destroy');
|
||||
Route::get('/photo-shares/{slug}', [EventPublicController::class, 'shareLink'])->name('photo-shares.show');
|
||||
Route::get('/photo-shares/{slug}/asset/{variant}', [EventPublicController::class, 'shareLinkAsset'])
|
||||
->middleware('signed')
|
||||
|
||||
Reference in New Issue
Block a user