Skip to content

Instantly share code, notes, and snippets.

@wowaTYPO3
Created November 9, 2018 11:19
Show Gist options
  • Save wowaTYPO3/ea17f5d97f2a635ea4741d31408f87b3 to your computer and use it in GitHub Desktop.
Save wowaTYPO3/ea17f5d97f2a635ea4741d31408f87b3 to your computer and use it in GitHub Desktop.
routeEnhancers:
NewsPlugin:
type: Extbase
extension: News
plugin: Pi1
routes:
-
routePath: '/{news_title}'
_controller: 'News::detail'
_arguments:
news_title: news
defaultController: 'News::detail'
aspects:
news_title:
type: PersistedAliasMapper
tableName: tx_news_domain_model_news
routeFieldName: path_segment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment