Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Allow setting of route attributes for AutoRoute documents #139

@dantleech

Description

@dantleech

e.g. to add a host pattern

Acme\ForumBundle\Document\Topic:
    uri_schema: /my-forum/{category}/{title}
    attributres:
        hostPattern: foobar.*.dom
    token_providers:
        category: [content_method, { method: getCategoryTitle, slugify: true }]
        title: [content_method, { method: getTitle }] # slugify is true by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions