mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fix some routes
Names of some of the routes overlapped with others in an incompatible way. This makes the names more distinct
This commit is contained in:
parent
91c1e53e52
commit
b9d56a8ecc
|
@ -563,14 +563,14 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
Api\AssetFilesController::class,
|
Api\AssetFilesController::class,
|
||||||
'show'
|
'show'
|
||||||
]
|
]
|
||||||
)->name('api.assets.files');
|
)->name('api.assets.file');
|
||||||
|
|
||||||
Route::delete('{asset_id}/file/{file_id}',
|
Route::delete('{asset_id}/file/{file_id}',
|
||||||
[
|
[
|
||||||
Api\AssetFilesController::class,
|
Api\AssetFilesController::class,
|
||||||
'destroy'
|
'destroy'
|
||||||
]
|
]
|
||||||
)->name('api.assets.files');
|
)->name('api.assets.file');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue