group(function () { Route::get('property/report/{report}', 'PropertyReportController'); Route::post('property/exim/{exim}', 'PropertyEximController'); Route::patch('property/actions/{action}', 'PropertyActionsController'); Route::patch('property/action/{property}/{action}', 'PropertyActionController'); Route::patch('property/workflow/{property}/{transition}', 'PropertyWorkflowController'); Route::resource('property', 'PropertyResourceController'); }); // Guard routes for listing_category Route::prefix('{guard}/property')->group(function () { Route::patch('listing_category/actions/{action}', 'ListingCategoryActionsController'); Route::patch('listing_category/action/{listing_category}/{action}', 'ListingCategoryActionController'); Route::resource('listing_category', 'ListingCategoryResourceController'); }); // Public routes for property Route::get('properties/', 'PropertyPublicController@index'); Route::get('property/{slug?}', 'PropertyPublicController@show');