diff --git a/src/Compass.php b/src/Compass.php index 84be5e0..c8d8807 100644 --- a/src/Compass.php +++ b/src/Compass.php @@ -69,7 +69,7 @@ protected static function filterRoute(array $route) { $routeRules = config('compass.routes'); - if ((Str::is($routeRules['exclude'], $route['name'])) || + if (Str::is($routeRules['exclude'], $route['name']) || Str::is($routeRules['exclude'], $route['uri']) || ! Str::is($routeRules['domains'], $route['domain']) || ! Str::is($routeRules['prefixes'], $route['uri'])) {