Removed extra api in prefix, added v1

This commit is contained in:
snipe 2016-12-14 17:49:52 -08:00
parent a8e09728a5
commit 112ee3c8ff

View file

@ -16,7 +16,7 @@ use App\Models\Statuslabel;
|
*/
Route::group([ 'middleware' => 'auth:api' ], function () {
Route::group(['prefix' => 'v1', 'middleware' => 'auth:api'], function () {
/*---Hardware API---*/
Route::group([ 'prefix' => 'hardware','middleware' => ['web','auth','authorize:assets.view']], function () {