mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Moves activity report into API routes
This commit is contained in:
parent
52f24f7587
commit
ce856bdb0a
|
@ -507,4 +507,10 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
|
||||||
}); // Users group
|
}); // Users group
|
||||||
|
|
||||||
|
|
||||||
|
Route::get(
|
||||||
|
'reports/activity',
|
||||||
|
[ 'as' => 'api.activity.list', 'uses' => 'ReportsController@index' ]
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -274,10 +274,6 @@ Route::group(['middleware' => ['auth']], function () {
|
||||||
[ 'as' => 'reports/activity', 'uses' => 'ReportsController@getActivityReport' ]
|
[ 'as' => 'reports/activity', 'uses' => 'ReportsController@getActivityReport' ]
|
||||||
);
|
);
|
||||||
|
|
||||||
Route::get(
|
|
||||||
'reports/activity/json',
|
|
||||||
[ 'as' => 'api.activity.list', 'uses' => 'ReportsController@getActivityReportDataTable' ]
|
|
||||||
);
|
|
||||||
|
|
||||||
Route::get(
|
Route::get(
|
||||||
'reports/unaccepted_assets',
|
'reports/unaccepted_assets',
|
||||||
|
@ -414,5 +410,5 @@ Route::group(['middleware' => 'web'], function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
Auth::routes();
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue