Skip to content

Commit

Permalink
[FEATURE] Configure URLs for the new seminars single view
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Dec 10, 2024
1 parent eaf9fb6 commit 90f6141
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion config/sites/main/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ routeEnhancers:
index: ''
map:
'/': 0
EventSingleView:
LegacyEventSingleView:
type: Plugin
limitToPages:
- 17
Expand All @@ -50,6 +50,23 @@ routeEnhancers:
type: PersistedAliasMapper
tableName: 'tx_seminars_seminars'
routeFieldName: 'slug'
EventSingleView:
type: Extbase
limitToPages:
- 47
extension: Seminars
plugin: EventSingleView
defaultController: 'Event::show'
routes:
- routePath: '/{event}'
_controller: 'Event::show'
_arguments:
event: event
aspects:
event:
type: PersistedAliasMapper
tableName: 'tx_seminars_seminars'
routeFieldName: 'slug'
EventRegistration:
type: Extbase
limitToPages:
Expand Down

0 comments on commit 90f6141

Please sign in to comment.