📌  相关文章
📜  Route::group(['middleware'=>'auth'], function() { - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:09.089000             🧑  作者: Mango

代码示例4
protected function mapAuthRoutes()
{
    Route::middleware('web')
        ->namespace('App\Http\Controllers\Auth')
        ->group(base_path('routes/auth.php'));
}