mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed model files API routes.
This commit is contained in:
parent
cd7db5c4a8
commit
a8eb76fd8d
|
@ -791,12 +791,6 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
]
|
]
|
||||||
)->name('api.models.assets');
|
)->name('api.models.assets');
|
||||||
|
|
||||||
Route::post('{id}/restore',
|
|
||||||
[
|
|
||||||
Api\AssetModelsController::class,
|
|
||||||
'restore'
|
|
||||||
]
|
|
||||||
)->name('api.models.restore');
|
|
||||||
Route::post('{id}/restore',
|
Route::post('{id}/restore',
|
||||||
[
|
[
|
||||||
Api\AssetModelsController::class,
|
Api\AssetModelsController::class,
|
||||||
|
|
Loading…
Reference in a new issue