Skip to content

Commit

Permalink
[DOCS] Use page argument in routePath
Browse files Browse the repository at this point in the history
Releases: main, 12.1, 12.0
  • Loading branch information
simonschaufi committed Nov 18, 2024
1 parent 625884a commit 30eefaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Tutorials/BestPractice/Routing/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ If you want to have categories+pagination, that configuration has to stand befo
_arguments:
category-name: overwriteDemand/categories
# Tagname + pagination
- routePath: '/{tag-name}/page-2'
- routePath: '/{tag-name}/page-{page}'
_controller: 'News::list'
_arguments:
tag-name: overwriteDemand/tags
Expand Down

0 comments on commit 30eefaa

Please sign in to comment.