diff --git a/Configuration/Routes/config.yaml b/Configuration/Routes/config.yaml index 63f43e4a9b2c56279a5b009f1e89375e7e3e747e..05af95b4700be97a346a39868557812c1d5426b8 100644 --- a/Configuration/Routes/config.yaml +++ b/Configuration/Routes/config.yaml @@ -3,7 +3,13 @@ routeEnhancers: type: Plugin namespace: tx_sgnews_pagebrowser routePath: '/{localizedSegment}/{currentPage}' + defaults: + currentPage: '0' aspects: + currentPage: + type: StaticRangeMapper + start: '1' + end: '1000' localizedSegment: type: LocaleModifier default: page