Skip to content

Commit

Permalink
Add routePath for booking
Browse files Browse the repository at this point in the history
  • Loading branch information
webian committed Jun 8, 2022
1 parent 42cae5d commit 3c3aba6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Configuration/Yaml/RouteEnhancers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ routeEnhancers:
_controller: 'Calendar::result'
- routePath: '/{calendarize_page_label}/{currentPage}'
_controller: 'Calendar::list'
- routePath: '/{calendarize_booking_label}/{index}'
_controller: 'Booking::booking'

defaultController: 'Calendar::list'
# requirements:
# requirements:
# Specify kind of parameters, if the aspects are not used.
# year: '\d{4}'
# quarter: '\d'
# month: '\d{1,2}'
# week: '\d{1,2}'
# day: '\d{1,2}'
# day: '\d{1,2}'

aspects:
index:
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 3c3aba6

Please sign in to comment.