'Frontend', 'middleware' => ['role:admin', 'role:user'], ], function () { Route::resource('dashboard', 'DashboardController'); });