Added consumable uploads gitignore

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-11-01 17:52:04 -07:00
parent 3282702c73
commit f6a6478804

View file

@ -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');
}); });