new ataxchments preview code
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user