diff --git a/Configuration/Routes.yaml b/Configuration/Routes.yaml index dbf341a..77ba2a0 100644 --- a/Configuration/Routes.yaml +++ b/Configuration/Routes.yaml @@ -1,5 +1,23 @@ - - name: 'Comments Form' + name: 'Comments Form on Homepage' + uriPattern: '{node}comment/{--webexcess_comments-form.@action}' + defaults: + '@package': 'Neos.Neos' + '@controller': 'Frontend\Node' + '@format': 'html' + '@action': 'show' + '--webexcess_comments-form': + '@package': 'WebExcess.Comments' + '@controller': 'Comments' + '@format': 'html' + routeParts: + node: + handler: Neos\Neos\Routing\FrontendNodeRoutePartHandler + options: + onlyMatchSiteNodes: true + appendExceedingArguments: true +- + name: 'Comments Form on Subpages' uriPattern: '{node}/comment/{--webexcess_comments-form.@action}' defaults: '@package': 'Neos.Neos'