mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 16:14:18 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
c45ede2d17
|
@ -74,7 +74,7 @@
|
|||
data-sort-name="name"
|
||||
id="consumablesCheckedoutTable"
|
||||
class="table table-striped snipe-table"
|
||||
data-url="{{route('api.consumables.showUsers', $consumable->id)}}"
|
||||
data-url="{{route('api.consumables.show.users', $consumable->id)}}"
|
||||
data-export-options='{
|
||||
"fileName": "export-consumables-{{ str_slug($consumable->name) }}-checkedout-{{ date('Y-m-d') }}",
|
||||
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
||||
|
|
|
@ -280,17 +280,9 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
Api\ConsumablesController::class,
|
||||
'getDataView'
|
||||
]
|
||||
)->name('api.consumables.showUsers');
|
||||
)->name('api.consumables.show.users');
|
||||
|
||||
|
||||
// This is LEGACY endpoint URL and should be removed in the next major release
|
||||
Route::get('view/{id}/users',
|
||||
[
|
||||
Api\ConsumablesController::class,
|
||||
'getDataView'
|
||||
]
|
||||
)->name('api.consumables.showUsers');
|
||||
|
||||
Route::post('{consumable}/checkout',
|
||||
[
|
||||
Api\ConsumablesController::class,
|
||||
|
|
Loading…
Reference in a new issue