Fix route enhancer for reseller page
This commit is contained in:
@@ -139,8 +139,7 @@ routeEnhancers:
|
||||
type: Extbase
|
||||
extension: EpProducts
|
||||
plugin: reseller
|
||||
limitToPages:
|
||||
- 1483
|
||||
limitToPages: [1483]
|
||||
routes:
|
||||
-
|
||||
routePath: '/{reseller_code}'
|
||||
@@ -153,38 +152,34 @@ routeEnhancers:
|
||||
_arguments:
|
||||
reseller_code: reseller
|
||||
-
|
||||
routePath: '/{reseller_code}/csv/{type}'
|
||||
routePath: '/{reseller_code}/csv/{export_type}'
|
||||
_controller: 'Reseller::csv'
|
||||
_arguments:
|
||||
reseller_code: reseller
|
||||
type: type
|
||||
export_type: type
|
||||
-
|
||||
routePath: '/{reseller_code}/copypaste/{product_uid}'
|
||||
_controller: 'Reseller::copypaste'
|
||||
_arguments:
|
||||
reseller_code: reseller
|
||||
product_uid: product
|
||||
requirements:
|
||||
reseller_code: \w+
|
||||
type: \w+
|
||||
product_uid: \d+
|
||||
aspects:
|
||||
reseller_code:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_reseller
|
||||
routeFieldName: code
|
||||
type:
|
||||
export_type:
|
||||
type: StaticValueMapper
|
||||
map:
|
||||
google: google
|
||||
facebook: facebook
|
||||
reseller_code:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_reseller
|
||||
routeFieldName: code
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
AjaxRequests:
|
||||
type: Extbase
|
||||
extension: epproducts
|
||||
extension: EpProducts
|
||||
plugin: ajax
|
||||
limitToPages: [855]
|
||||
routes:
|
||||
|
||||
@@ -57,10 +57,6 @@ plugin.tx_epproducts {
|
||||
}
|
||||
}
|
||||
}
|
||||
# The following is required to avoid cHash errors caused by additional query parameters (fx 'pa')
|
||||
# There has to be a better solution though
|
||||
features.requireCHashArgumentForActionArguments = 0
|
||||
features.skipDefaultArguments = 1
|
||||
}
|
||||
|
||||
config.tx_extbase.persistence.classes {
|
||||
|
||||
Reference in New Issue
Block a user