mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Added patch/put back into resource routes
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
13dbf9ee74
commit
dfbccf50e8
|
@ -1108,9 +1108,10 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
'index' => 'api.users.index',
|
'index' => 'api.users.index',
|
||||||
'show' => 'api.users.show',
|
'show' => 'api.users.show',
|
||||||
'store' => 'api.users.store',
|
'store' => 'api.users.store',
|
||||||
|
'update' => 'api.users.update',
|
||||||
'destroy' => 'api.users.destroy',
|
'destroy' => 'api.users.destroy',
|
||||||
],
|
],
|
||||||
'except' => ['create', 'edit', 'update'],
|
'except' => ['create', 'edit'],
|
||||||
'parameters' => ['user' => 'user_id'],
|
'parameters' => ['user' => 'user_id'],
|
||||||
]
|
]
|
||||||
); // end users API routes
|
); // end users API routes
|
||||||
|
|
Loading…
Reference in a new issue