I'd like to generate an URL like this one:
/MyCategory/MySubCategory/page2.html
I have tried to do it this way:
my_route:
url: /:variable1/:variable2/literal:variable3.html
But Symfony outputs this:
/MyCategory/MySubCategory/page:variable3.html
I'm using Symfony 1.4.1
How could I solve this?
url_for()
or smth relative to this – Darmen Amanbayev