Moves activity report into API routes

This commit is contained in:
snipe 2017-05-23 09:24:53 -07:00
parent 52f24f7587
commit ce856bdb0a
2 changed files with 7 additions and 5 deletions

View file

@ -507,4 +507,10 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
}); // Users group
Route::get(
'reports/activity',
[ 'as' => 'api.activity.list', 'uses' => 'ReportsController@index' ]
);
});

View file

@ -274,10 +274,6 @@ Route::group(['middleware' => ['auth']], function () {
[ 'as' => 'reports/activity', 'uses' => 'ReportsController@getActivityReport' ]
);
Route::get(
'reports/activity/json',
[ 'as' => 'api.activity.list', 'uses' => 'ReportsController@getActivityReportDataTable' ]
);
Route::get(
'reports/unaccepted_assets',
@ -414,5 +410,5 @@ Route::group(['middleware' => 'web'], function () {
});
Auth::routes();