Refine route enhancer config for event sites
This commit is contained in:
@@ -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: '/'
|
||||||
|
|||||||
@@ -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: '/'
|
||||||
|
|||||||
@@ -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: '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user