Finish building out schedule management functionality
This commit is contained in:
parent
4ac6507b69
commit
1e0d630e1f
16 changed files with 510 additions and 79 deletions
|
@ -61,7 +61,11 @@ Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServ
|
|||
|
||||
Route::group(['prefix' => '/schedules'], function () {
|
||||
Route::get('/', 'Servers\ScheduleController@index');
|
||||
Route::post('/', 'Servers\ScheduleController@store');
|
||||
Route::get('/{schedule}', 'Servers\ScheduleController@view');
|
||||
Route::post('/{schedule}', 'Servers\ScheduleController@update');
|
||||
Route::delete('/{schedule}', 'Servers\ScheduleController@delete');
|
||||
|
||||
Route::post('/{schedule}/tasks', 'Servers\ScheduleTaskController@store');
|
||||
Route::post('/{schedule}/tasks/{task}', 'Servers\ScheduleTaskController@update');
|
||||
Route::delete('/{schedule}/tasks/{task}', 'Servers\ScheduleTaskController@delete');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue