From 4f9c3212e0afeb13bc841a1da4eca16b6dd1cfcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Fri, 5 Jul 2019 11:43:23 +0200 Subject: [PATCH] Remove superfluous routing enhancers for ajax requests --- config/sites/ep-reisen/config.yaml | 71 ------------------------ config/sites/ski-boarderweek/config.yaml | 35 ------------ config/sites/snowzone/config.yaml | 35 ------------ config/sites/unichamp/config.yaml | 35 ------------ 4 files changed, 176 deletions(-) diff --git a/config/sites/ep-reisen/config.yaml b/config/sites/ep-reisen/config.yaml index 63f47580..0209e6e6 100644 --- a/config/sites/ep-reisen/config.yaml +++ b/config/sites/ep-reisen/config.yaml @@ -185,77 +185,6 @@ routeEnhancers: type: PersistedAliasMapper tableName: tx_epproducts_domain_model_product routeFieldName: uid - AjaxRequests: - type: Extbase - extension: EpProducts - plugin: ajax - limitToPages: [855] - routes: - - - routePath: '/searchresult' - _controller: 'AjaxSearch::searchresult' - - - routePath: '/dates/{product_uid}/{hotel_uid}' - _controller: 'AjaxDate::dates' - _arguments: - product_uid: product - hotel_uid: hotel - - - routePath: '/filterpanel/autocomplete' - _controller: 'AjaxFilterpanel::autocomplete' - - - routePath: '/searchbar/options' - _controller: 'AjaxSearchbar::options' - - - routePath: '/searchbar/reset' - _controller: 'AjaxSearchbar::reset' - - - routePath: '/pricetable/{product_uid}/{hotel_uid}' - _controller: 'AjaxTable::pricetable' - _arguments: - product_uid: product - hotel_uid: hotel - - - routePath: '/pricetable' - _controller: 'AjaxTable::pricetableHtml' - - - routePath: '/calendar/range' - _controller: 'AjaxCalendar::range' - - - routePath: '/calendar/contingents' - _controller: 'AjaxCalendar::contingents' - - - routePath: '/calendar/availableRooms' - _controller: 'AjaxCalendar::availableRooms' - - - routePath: '/contingent/list' - _controller: 'AjaxContingent::list' - - - routePath: '/contingent/rooms' - _controller: 'AjaxContingent::rooms' - - - routePath: '/watchlist' - _controller: 'AjaxWatchlist::list' - 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 - AjaxContactForm: - type: Extbase - extension: EpTheme - plugin: Ajax - limitToPages: [855] - routes: - - routePath: '/ajaxform' - _controller: 'AjaxForm::processForm' PageTypeSuffix: type: PageType default: '/' diff --git a/config/sites/ski-boarderweek/config.yaml b/config/sites/ski-boarderweek/config.yaml index 6ce9a795..9208af19 100644 --- a/config/sites/ski-boarderweek/config.yaml +++ b/config/sites/ski-boarderweek/config.yaml @@ -46,41 +46,6 @@ routeEnhancers: type: PersistedAliasMapper tableName: tx_epproducts_domain_model_teammember routeFieldName: path_segment - AjaxRequests: - type: Extbase - extension: epproducts - plugin: ajax - limitToPages: [880] - routes: - - - 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' - _arguments: - 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 a0783efa..44b8bf1b 100644 --- a/config/sites/snowzone/config.yaml +++ b/config/sites/snowzone/config.yaml @@ -46,41 +46,6 @@ routeEnhancers: type: PersistedAliasMapper tableName: tx_epproducts_domain_model_teammember routeFieldName: path_segment - AjaxRequests: - type: Extbase - extension: epproducts - plugin: ajax - limitToPages: [878] - routes: - - - 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' - _arguments: - 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 4d72b6e8..1ec2262a 100644 --- a/config/sites/unichamp/config.yaml +++ b/config/sites/unichamp/config.yaml @@ -46,41 +46,6 @@ routeEnhancers: type: PersistedAliasMapper tableName: tx_epproducts_domain_model_teammember routeFieldName: path_segment - AjaxRequests: - type: Extbase - extension: epproducts - plugin: ajax - limitToPages: [879] - routes: - - - 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' - _arguments: - 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: '/'