Closed petforsberg closed 9 years ago
I think this should be supported through a provider. e.g.
schema: /{category}/{relative_article_path}/{title}
token_providers:
relative_article_path: [ symfony_container, [ param: relative_article_path ] ]
Created a PR: https://github.com/symfony-cmf/RoutingAuto/pull/17
I have created a provider which uses the Symfony Expression Language, which would neatly solve this problem: https://github.com/symfony-cmf/RoutingAuto/pull/18
Closing as the token provider was added by https://github.com/symfony-cmf/RoutingAutoBundle/pull/153
Just installed all (except Tree Browser) bundles to dev-master version. Hoped it will work with newest Routing Auto, but it doesn't...
From my config:
URL generated is:
not
Route Auto bundle doesn't recognize SF global parameters. Hope that paths duplication is not aimed. :)