Answer the question
In order to leave comments, you need to log in
Symphony how to organize infinite url?
How to organize a route in Symphony 3.4 with infinite nesting
Example
domen.ru/test/test2/test3/test4/
domen.ru/test/test2/test3/
domen.ru/test/test2/test3/test4/test5/
$routes = new RouteCollection();
$routes->add('catalog', new Route(
'/{page}/',
[],
[]
));
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