diff --git a/config/sites/ski-boarderweek/config.yaml b/config/sites/ski-boarderweek/config.yaml index 58c02a22..6ce9a795 100644 --- a/config/sites/ski-boarderweek/config.yaml +++ b/config/sites/ski-boarderweek/config.yaml @@ -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: '/' diff --git a/config/sites/snowzone/config.yaml b/config/sites/snowzone/config.yaml index 67aa145b..a0783efa 100644 --- a/config/sites/snowzone/config.yaml +++ b/config/sites/snowzone/config.yaml @@ -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: '/' diff --git a/config/sites/unichamp/config.yaml b/config/sites/unichamp/config.yaml index de172b51..4d72b6e8 100644 --- a/config/sites/unichamp/config.yaml +++ b/config/sites/unichamp/config.yaml @@ -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: '/'