Added new seats API route

This commit is contained in:
snipe 2018-01-10 18:47:27 -08:00
parent 254234b0dc
commit 7f1a535b30

View file

@ -351,6 +351,13 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
/*--- Licenses API ---*/
Route::group(['prefix' => 'licenses'], function () {
Route::get('{licenseId}/seats', [
'as' => 'api.license.seats',
'uses' => 'LicensesController@seats'
]);
}); // Licenses group
Route::resource('licenses', 'LicensesController',
[
'names' =>
@ -367,6 +374,7 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
); // Licenses resource
/*--- Locations API ---*/
Route::group(['prefix' => 'locations'], function () {