group(function () { Route::resource('status', 'StatusResourceController'); }); // Guard routes for status Route::prefix('{guard}/status')->group(function () { Route::resource('status', 'StatusResourceController'); }); // Public routes for status Route::get('statuses/', 'StatusPublicController@index'); Route::get('status/{slug?}', 'StatusPublicController@show');