mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added consumable uploads gitignore
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3282702c73
commit
f6a6478804
|
@ -16,6 +16,21 @@ Route::group(['prefix' => 'consumables', 'middleware' => ['auth']], function ()
|
||||||
[Consumables\ConsumableCheckoutController::class, 'store']
|
[Consumables\ConsumableCheckoutController::class, 'store']
|
||||||
)->name('consumables.checkout.store');
|
)->name('consumables.checkout.store');
|
||||||
|
|
||||||
|
Route::post(
|
||||||
|
'{consumableId}/upload',
|
||||||
|
[Consumables\ConsumablesFilesController::class, 'store']
|
||||||
|
)->name('upload/consumable');
|
||||||
|
|
||||||
|
Route::delete(
|
||||||
|
'{consumableId}/deletefile/{fileId}',
|
||||||
|
[Consumables\ConsumablesFilesController::class, 'destroy']
|
||||||
|
)->name('delete/consumablefile');
|
||||||
|
|
||||||
|
Route::get(
|
||||||
|
'{consumableId}/showfile/{fileId}/{download?}',
|
||||||
|
[Consumables\ConsumablesFilesController::class, 'show']
|
||||||
|
)->name('show.consumablefile');
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue