group(function () { Route::get('unit/report/{report}', 'UnitReportController'); Route::patch('unit/actions/{action}', 'UnitActionsController'); Route::patch('unit/action/{unit}/{action}', 'UnitActionController'); Route::patch('unit/workflow/{unit}/{transition}', 'UnitWorkflowController'); Route::resource('unit', 'UnitResourceController'); }); // Public routes for happytenant Route::get('happytenants/', 'HappytenantPublicController@index'); Route::get('happytenant/{slug?}', 'HappytenantPublicController@show');