Loading core/modules/views/src/Plugin/views/display/PathPluginBase.php +2 −2 Original line number Diff line number Diff line Loading @@ -245,8 +245,8 @@ public function collectRoutes(RouteCollection $collection) { * TRUE, when the view should override the given route. */ protected function overrideApplies($view_path, Route $view_route, Route $route) { return $this->overrideAppliesPathAndMethod($view_path, $view_route, $route) && (!$route->hasRequirement('_format') || $route->getRequirement('_format') === 'html'); return (!$route->hasRequirement('_format') || $route->getRequirement('_format') === 'html') && $this->overrideAppliesPathAndMethod($view_path, $view_route, $route); } /** Loading Loading
core/modules/views/src/Plugin/views/display/PathPluginBase.php +2 −2 Original line number Diff line number Diff line Loading @@ -245,8 +245,8 @@ public function collectRoutes(RouteCollection $collection) { * TRUE, when the view should override the given route. */ protected function overrideApplies($view_path, Route $view_route, Route $route) { return $this->overrideAppliesPathAndMethod($view_path, $view_route, $route) && (!$route->hasRequirement('_format') || $route->getRequirement('_format') === 'html'); return (!$route->hasRequirement('_format') || $route->getRequirement('_format') === 'html') && $this->overrideAppliesPathAndMethod($view_path, $view_route, $route); } /** Loading