mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -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,
|
||||
'show'
|
||||
]
|
||||
)->name('api.assets.files');
|
||||
)->name('api.assets.file');
|
||||
|
||||
Route::delete('{asset_id}/file/{file_id}',
|
||||
[
|
||||
Api\AssetFilesController::class,
|
||||
'destroy'
|
||||
]
|
||||
)->name('api.assets.files');
|
||||
)->name('api.assets.file');
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue