Open Haniki opened 3 months ago
I see in BaseSiteSelector that we use the isRouteUriDecorable method in the onKernelRequest method.
isRouteUriDecorable
https://github.com/sonata-project/SonataPageBundle/blob/4.x/src/Site/BaseSiteSelector.php#L54-L56
Shouldn't we use the isRequestDecorable method instead ? https://github.com/sonata-project/SonataPageBundle/blob/4.x/src/CmsManager/DecoratorStrategy.php#L67
isRequestDecorable
Without this, only the ignore_uri_patterns config is considered, and the ignore_route_patterns and the ignore_routes are ignored.
ignore_uri_patterns
ignore_route_patterns
ignore_routes
Feature Request
I see in BaseSiteSelector that we use the
isRouteUriDecorable
method in the onKernelRequest method.https://github.com/sonata-project/SonataPageBundle/blob/4.x/src/Site/BaseSiteSelector.php#L54-L56
Shouldn't we use the
isRequestDecorable
method instead ? https://github.com/sonata-project/SonataPageBundle/blob/4.x/src/CmsManager/DecoratorStrategy.php#L67Without this, only the
ignore_uri_patterns
config is considered, and theignore_route_patterns
and theignore_routes
are ignored.