Skip to content

Commit

Permalink
Merge pull request #34 from rolandschuetz/master
Browse files Browse the repository at this point in the history
BUGFIX: Support controller routes on the homepage
  • Loading branch information
sbruggmann authored Mar 8, 2019
2 parents ff445dd + a6ca7fa commit a82601e
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Configuration/Routes.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit a82601e

Please sign in to comment.