<?php

// Routes for schedule.

// Guard routes for follow_ups
Route::prefix('{guard}/schedule')->group(function () {

    Route::get('follow_ups/report/{report}', 'FollowUpsReportController');
    Route::patch('follow_ups/actions/{action}', 'FollowUpsActionsController');
    Route::patch('follow_ups/action/{follow_ups}/{action}', 'FollowUpsActionController');
    Route::patch('follow_ups/workflow/{follow_ups}/{transition}', 'FollowUpsWorkflowController');
    Route::resource('follow_ups', 'FollowUpsResourceController');
});



// Public routes for schedule
Route::get('schedules/', 'SchedulePublicController@index');
Route::get('schedule/{slug?}', 'SchedulePublicController@show');