Answer the question
In order to leave comments, you need to log in
Is it possible to prefix routings in Symfony 1.4?
Hello!
There was such a problem with Symfony 1.4:
there is an application, in the routing.yml file of which, a bunch of routes are registered. There is a need to add a prefix to the URI of each route, for example:
some_route:
url: /some/route
param: { ... }
I would like to get an output address of the form:
prefix/some/route
The simplest solution is to prefix each of the routes , this is certainly good, but I suspect that with the help of Symfony this problem can be solved more concisely.
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question