group(function () { Route::post('blog_category/exim/{exim}', 'BlogCategoryEximController'); Route::patch('blog_category/actions/{action}', 'BlogCategoryActionsController'); Route::patch('blog_category/action/{blog_category}/{action}', 'BlogCategoryActionController'); Route::resource('blog_category', 'BlogCategoryResourceController'); }); // Guard routes for blog Route::prefix('{guard}/blog')->group(function () { Route::post('blog/exim/{exim}', 'BlogEximController'); Route::patch('blog/actions/{action}', 'BlogActionsController'); Route::patch('blog/action/{blog}/{action}', 'BlogActionController'); Route::resource('blog', 'BlogResourceController'); }); // Public routes for blog Route::get('blogs/', 'BlogPublicController@index'); Route::get('blog/{slug?}', 'BlogPublicController@show');