diff --git a/Configuration/Routes/config.yaml b/Configuration/Routes/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..63f43e4a9b2c56279a5b009f1e89375e7e3e747e --- /dev/null +++ b/Configuration/Routes/config.yaml @@ -0,0 +1,29 @@ +routeEnhancers: + PageBrowserNews: + type: Plugin + namespace: tx_sgnews_pagebrowser + routePath: '/{localizedSegment}/{currentPage}' + aspects: + localizedSegment: + type: LocaleModifier + default: page + localeMap: + - + locale: 'de_DE.*' + value: seite + NewsByAuthor: + type: Extbase + extension: SgNews + plugin: NewsByAuthor + routes: + - + routePath: '/{authorTitle}' + _controller: 'NewsByAuthor::list' + _arguments: + authorTitle: authorId + defaultController: 'NewsByAuthor::list' + aspects: + authorTitle: + type: PersistedAliasMapper + tableName: tx_sgnews_domain_model_author + routeFieldName: path_segment