group(function () { Route::get('company/report/{report}', 'CompanyReportController'); Route::post('company/exim/{exim}', 'CompanyEximController'); Route::patch('company/actions/{action}', 'CompanyActionsController'); Route::patch('company/action/{company}/{action}', 'CompanyActionController'); Route::patch('company/workflow/{company}/{transition}', 'CompanyWorkflowController'); Route::resource('company', 'CompanyResourceController'); }); // Public routes for company Route::get('companies/', 'CompanyPublicController@index'); Route::get('company/{slug?}', 'CompanyPublicController@show');