I'm wondering if anyone knows if it's possible to assign more than one static URL to a single routing rule in Symfony 1.4 + Doctrine 1.2.
What I'm after is something like...
my_routing_rule:
url: {/first-url/, /second-url/, /third-url/}
param: {module: mymodule, action: myaction}
The URLs would be static and I can't use a variable :something
in this case.
Try it this way:
my_routing_rule:
url: /:something/
param: { module: mymodule, action: myaction }
requirements:
something: /^(first_url|second_url|third_url)$/