feat: base travel info on product and provide date via url

This commit is contained in:
Björn Fromme
2024-11-12 15:15:53 +01:00
parent 71b23c5945
commit f46b9c31c4
9 changed files with 156 additions and 33 deletions
+11 -1
View File
@@ -173,16 +173,26 @@ routeEnhancers:
- 2712
routes:
-
routePath: '/{travelinfo}'
routePath: '/{travelinfo}/{traveldate}'
_controller: 'Travelinfo::index'
_arguments:
travelinfo: travelinfo
traveldate: travelDate
-
routePath: '/{busproid}'
_controller: 'Travelinfo::myep'
_arguments:
busproid: busProId
defaultController: 'Travelinfo::index'
aspects:
travelinfo:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_travelinfo
routeFieldName: path_segment
traveldate:
type: PassthroughMapper
busproid:
type: PassthroughMapper
ContingentsIcalPlugin:
type: Extbase
extension: EpProducts