Refine route enhancer config for event sites
This commit is contained in:
@@ -53,8 +53,17 @@ routeEnhancers:
|
||||
limitToPages: [880]
|
||||
routes:
|
||||
-
|
||||
routePath: '/pricetable'
|
||||
routePath: '/pricetable/{product_uid}/{hotel_uid}'
|
||||
_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}'
|
||||
_controller: 'AjaxTable::eventPricetable'
|
||||
@@ -62,11 +71,16 @@ routeEnhancers:
|
||||
product_uid: product
|
||||
requirements:
|
||||
product_uid: \d+
|
||||
hotel_uid: \d+
|
||||
aspects:
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
hotel_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_hotel
|
||||
routeFieldName: uid
|
||||
PageTypeSuffix:
|
||||
type: PageType
|
||||
default: '/'
|
||||
|
||||
@@ -53,8 +53,17 @@ routeEnhancers:
|
||||
limitToPages: [878]
|
||||
routes:
|
||||
-
|
||||
routePath: '/pricetable'
|
||||
routePath: '/pricetable/{product_uid}/{hotel_uid}'
|
||||
_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}'
|
||||
_controller: 'AjaxTable::eventPricetable'
|
||||
@@ -62,11 +71,16 @@ routeEnhancers:
|
||||
product_uid: product
|
||||
requirements:
|
||||
product_uid: \d+
|
||||
hotel_uid: \d+
|
||||
aspects:
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
hotel_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_hotel
|
||||
routeFieldName: uid
|
||||
PageTypeSuffix:
|
||||
type: PageType
|
||||
default: '/'
|
||||
|
||||
@@ -53,8 +53,17 @@ routeEnhancers:
|
||||
limitToPages: [879]
|
||||
routes:
|
||||
-
|
||||
routePath: '/pricetable'
|
||||
routePath: '/pricetable/{product_uid}/{hotel_uid}'
|
||||
_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}'
|
||||
_controller: 'AjaxTable::eventPricetable'
|
||||
@@ -62,11 +71,16 @@ routeEnhancers:
|
||||
product_uid: product
|
||||
requirements:
|
||||
product_uid: \d+
|
||||
hotel_uid: \d+
|
||||
aspects:
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
hotel_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_hotel
|
||||
routeFieldName: uid
|
||||
PageTypeSuffix:
|
||||
type: PageType
|
||||
default: '/'
|
||||
|
||||
Reference in New Issue
Block a user