Refactor ical action to dedicated controller, add route enhancer

This commit is contained in:
Björn Fromme
2019-12-04 14:05:13 +01:00
parent 51570b2300
commit 23ae4db820
8 changed files with 157 additions and 60 deletions
+17
View File
@@ -168,6 +168,22 @@ routeEnhancers:
defaultController: 'Search::staticresult'
requirements:
filter_settings: '[A-Z\d%\-]+'
ContingentsIcalPlugin:
type: Extbase
extension: EpProducts
plugin: ical
routes:
-
routePath: '/contingents/{hotel}'
_controller: 'Ical::contingents'
_arguments:
hotel: hotel
defaultController: 'Ical::contingents'
aspects:
hotel:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_hotel
routeFieldName: path_segment
ResellerPlugin:
type: Extbase
extension: EpProducts
@@ -220,5 +236,6 @@ routeEnhancers:
'/json': 1701
'/html': 1702
'.json': 1803
'.ical': 1710
'sitemap.xml': 1533906435
'yoast-snippetpreview.json': 1480321830