Skip to content

Condition config in routing is not inherited to sub routes when importing resource. #9986

@m3co-code

Description

@m3co-code
route_name:
    resource: "@CompanyBundle/Resources/config/routing.yml"
    condition: "request.getHost() matches '/^someprefix\./'"

The condition config is not "inherited" to the sub routes inside the imported routing file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueIdeal for your first contribution! (some Symfony experience may be required)Routing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions