Refine route enhancer config for event sites

This commit is contained in:
Björn Fromme
2019-06-17 16:50:39 +02:00
parent 98abcbb21c
commit 032cfeb4f7
3 changed files with 45 additions and 3 deletions
+15 -1
View File
@@ -53,8 +53,17 @@ routeEnhancers:
limitToPages: [880] limitToPages: [880]
routes: routes:
- -
routePath: '/pricetable' routePath: '/pricetable/{product_uid}/{hotel_uid}'
_controller: 'AjaxTable::pricetable' _controller: 'AjaxTable::pricetable'
_arguments:
product_uid: product
hotel_uid: hotel
-
routePath: '/pricetablehtml/{product_uid}/{hotel_uid}'
_controller: 'AjaxTable::pricetableHtml'
_arguments:
product_uid: product
hotel_uid: hotel
- -
routePath: '/eventpricetable/{product_uid}' routePath: '/eventpricetable/{product_uid}'
_controller: 'AjaxTable::eventPricetable' _controller: 'AjaxTable::eventPricetable'
@@ -62,11 +71,16 @@ routeEnhancers:
product_uid: product product_uid: product
requirements: requirements:
product_uid: \d+ product_uid: \d+
hotel_uid: \d+
aspects: aspects:
product_uid: product_uid:
type: PersistedAliasMapper type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_product tableName: tx_epproducts_domain_model_product
routeFieldName: uid routeFieldName: uid
hotel_uid:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_hotel
routeFieldName: uid
PageTypeSuffix: PageTypeSuffix:
type: PageType type: PageType
default: '/' default: '/'
+15 -1
View File
@@ -53,8 +53,17 @@ routeEnhancers:
limitToPages: [878] limitToPages: [878]
routes: routes:
- -
routePath: '/pricetable' routePath: '/pricetable/{product_uid}/{hotel_uid}'
_controller: 'AjaxTable::pricetable' _controller: 'AjaxTable::pricetable'
_arguments:
product_uid: product
hotel_uid: hotel
-
routePath: '/pricetablehtml/{product_uid}/{hotel_uid}'
_controller: 'AjaxTable::pricetableHtml'
_arguments:
product_uid: product
hotel_uid: hotel
- -
routePath: '/eventpricetable/{product_uid}' routePath: '/eventpricetable/{product_uid}'
_controller: 'AjaxTable::eventPricetable' _controller: 'AjaxTable::eventPricetable'
@@ -62,11 +71,16 @@ routeEnhancers:
product_uid: product product_uid: product
requirements: requirements:
product_uid: \d+ product_uid: \d+
hotel_uid: \d+
aspects: aspects:
product_uid: product_uid:
type: PersistedAliasMapper type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_product tableName: tx_epproducts_domain_model_product
routeFieldName: uid routeFieldName: uid
hotel_uid:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_hotel
routeFieldName: uid
PageTypeSuffix: PageTypeSuffix:
type: PageType type: PageType
default: '/' default: '/'
+15 -1
View File
@@ -53,8 +53,17 @@ routeEnhancers:
limitToPages: [879] limitToPages: [879]
routes: routes:
- -
routePath: '/pricetable' routePath: '/pricetable/{product_uid}/{hotel_uid}'
_controller: 'AjaxTable::pricetable' _controller: 'AjaxTable::pricetable'
_arguments:
product_uid: product
hotel_uid: hotel
-
routePath: '/pricetablehtml/{product_uid}/{hotel_uid}'
_controller: 'AjaxTable::pricetableHtml'
_arguments:
product_uid: product
hotel_uid: hotel
- -
routePath: '/eventpricetable/{product_uid}' routePath: '/eventpricetable/{product_uid}'
_controller: 'AjaxTable::eventPricetable' _controller: 'AjaxTable::eventPricetable'
@@ -62,11 +71,16 @@ routeEnhancers:
product_uid: product product_uid: product
requirements: requirements:
product_uid: \d+ product_uid: \d+
hotel_uid: \d+
aspects: aspects:
product_uid: product_uid:
type: PersistedAliasMapper type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_product tableName: tx_epproducts_domain_model_product
routeFieldName: uid routeFieldName: uid
hotel_uid:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_hotel
routeFieldName: uid
PageTypeSuffix: PageTypeSuffix:
type: PageType type: PageType
default: '/' default: '/'