new ataxchments preview code

This commit is contained in:
Mark Gregory
2026-06-24 10:40:19 +01:00
parent a42b5787b9
commit c44b362710
17 changed files with 1071 additions and 43 deletions
+6
View File
@@ -40,5 +40,11 @@ Route::get('/tickets/{ticket}', TicketShow::class)->name('tickets.show');
Route::get('/attachments/{attachment}/download', AttachmentDownloadController::class)
->whereNumber('attachment')
->name('attachments.download');
Route::get('/attachments/{attachment}/preview', [AttachmentDownloadController::class, 'preview'])
->whereNumber('attachment')
->name('attachments.preview');
Route::delete('/attachments/{attachment}', [AttachmentDownloadController::class, 'destroy'])
->whereNumber('attachment')
->name('attachments.destroy');
Route::post('/tickets/{ticket}/time-logs', [TicketTimeLogController::class, 'store'])
->name('tickets.time-logs.store');