'/admin/appointment'], function () { Route::put('news/workflow/{appointment}/{step}', 'AppointmentAdminController@putWorkflow'); Route::resource('appointment', 'AppointmentAdminController'); }); // User routes for appointment Route::group(['prefix' => '/user/appointment'], function () { Route::resource('appointment', 'AppointmentUserController'); }); // Public routes for appointment Route::group(['prefix' => '/appointments'], function () { Route::get('news/workflow/{appointment}/{step}/{user}', 'AppointmentController@getWorkflow'); Route::get('/', 'AppointmentPublicController@index'); Route::get('/{slug?}', 'AppointmentPublicController@show'); });