Код: Выделить всё
search:
path: /search/{country}/{xxx}-3-{xxxId}/{page}/{limit}
defaults:
_controller: SearchBundle:Search:index
page: 0
limit: 8
Построение маршрута с помощью page=2 и limit=4 вернет результат
Код: Выделить всё
/search/country/xxx-3-xxxId/2/4
Код: Выделить всё
/search/country/xxx-3-xxxId/2
Код: Выделить всё
/search/country/xxx-3-xxxId/2/8
Подробнее здесь: https://stackoverflow.com/questions/325 ... omatically
Мобильная версия