From 2f4e89944c11dd55672ff77e73c1f2d5f7418585 Mon Sep 17 00:00:00 2001 From: Matthew Shillam Date: Tue, 23 Oct 2018 19:07:16 +0100 Subject: [PATCH] Add schedule index route --- routes/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/api.php b/routes/api.php index 0d64fc4..b58c75a 100644 --- a/routes/api.php +++ b/routes/api.php @@ -21,4 +21,5 @@ Route::middleware('auth:api')->get('/user', function (Request $request) { Route::apiResources(['v1/client' => 'API\v1\ClientController']); Route::post('v1/backup/{client_id}/{schedule_name}', 'API\v1\BackupController@store'); -Route::get('v1/test', 'API\v1\BackupController@test'); \ No newline at end of file +// Route::get('v1/test', 'API\v1\BackupController@test'); +Route::get('v1/schedule', 'API\v1\ScheduleController@index'); \ No newline at end of file