We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a748f commit ea56d47Copy full SHA for ea56d47
src/Providers/RouteServiceProvider.php
@@ -22,7 +22,10 @@ class RouteServiceProvider extends \Illuminate\Foundation\Support\Providers\Rout
22
*/
23
public function map(Router $router)
24
{
25
- $router->group(['namespace' => $this->getNamespace()], function () {
+ $router->group([
26
+ 'namespace' => $this->getNamespace(),
27
+ 'middleware' => ['web'],
28
+ ], function () {
29
$this->requireRoutes();
30
});
31
}
0 commit comments