diff --git a/src/Actions/RegisterResources.php b/src/Actions/RegisterResources.php index 2f660d0..2e47517 100644 --- a/src/Actions/RegisterResources.php +++ b/src/Actions/RegisterResources.php @@ -13,8 +13,6 @@ public static function boot(Panel $panel) { $resources = $panel->getResources(); - - foreach ($resources as $resource) { if (method_exists($resource, 'shouldRegisterSpotlight') && $resource::shouldRegisterSpotlight() === false) { continue;