diff --git a/config/laravel-widgets.php b/config/laravel-widgets.php index b44007fd..c7c25625 100644 --- a/config/laravel-widgets.php +++ b/config/laravel-widgets.php @@ -8,7 +8,7 @@ return [ /* * Set Ajax widget middleware */ - 'route_middleware' => [], + 'route_middleware' => ['web'], 'widget_stub' => 'resources/stubs/widgets/widget.stub', 'widget_plain_stub' => 'resources/stubs/widgets/widget_plain.stub',