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

Allow setting of route attributes for AutoRoute documents #139

Open
dantleech opened this issue Oct 29, 2014 · 0 comments
Open

Allow setting of route attributes for AutoRoute documents #139

dantleech opened this issue Oct 29, 2014 · 0 comments

Comments

@dantleech
Copy link
Member

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant