mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed component file route controller names
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
71a7176a6e
commit
3d8e0b707e
|
@ -27,17 +27,17 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () {
|
||||||
|
|
||||||
Route::post(
|
Route::post(
|
||||||
'{componentId}/upload',
|
'{componentId}/upload',
|
||||||
[Components\ComponentFilesController::class, 'store']
|
[Components\ComponentsFilesController::class, 'store']
|
||||||
)->name('upload/component');
|
)->name('upload/component');
|
||||||
|
|
||||||
Route::delete(
|
Route::delete(
|
||||||
'{componentId}/deletefile/{fileId}',
|
'{componentId}/deletefile/{fileId}',
|
||||||
[Components\ComponentFilesController::class, 'destroy']
|
[Components\ComponentsFilesController::class, 'destroy']
|
||||||
)->name('delete/componentfile');
|
)->name('delete/componentfile');
|
||||||
|
|
||||||
Route::get(
|
Route::get(
|
||||||
'{componentId}/showfile/{fileId}/{download?}',
|
'{componentId}/showfile/{fileId}/{download?}',
|
||||||
[Components\ComponentFilesController::class, 'show']
|
[Components\ComponentsFilesController::class, 'show']
|
||||||
)->name('show.componentfile');
|
)->name('show.componentfile');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue