Skip to content

Commit

Permalink
Merge pull request #689 from webian/routePath
Browse files Browse the repository at this point in the history
Add routePath for booking
  • Loading branch information
lochmueller authored Jun 8, 2022
2 parents 42cae5d + d1decee commit 683cca5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Configuration/Yaml/RouteEnhancers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ routeEnhancers:
_controller: 'Calendar::result'
- routePath: '/{calendarize_page_label}/{currentPage}'
_controller: 'Calendar::list'
- routePath: '/{calendarize_booking_label}/{index}'
_controller: 'Booking::booking'

defaultController: 'Calendar::list'
# requirements:
Expand Down Expand Up @@ -117,3 +119,9 @@ routeEnhancers:
localeMap:
- locale: 'de_.*'
value: 'ergebnis-seite'
calendarize_booking_label:
type: LocaleModifier
default: 'booking'
localeMap:
- locale: 'de_.*'
value: 'buchung'

0 comments on commit 683cca5

Please sign in to comment.