Skip to content

Commit

Permalink
Set viewClassName explicit to disable Neos internal FusionExceptionView
Browse files Browse the repository at this point in the history
This change will override the configuration in Neos >4.3 and allow this package to handle notFoundExceptions as before.
  • Loading branch information
dlubitz authored May 7, 2019
1 parent 12b9e86 commit b1ab41c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Configuration/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Neos:
notFoundExceptions:
matchingStatusCodes: [ 404, 410 ]
options:
viewClassName: Neos\FluidAdaptor\View\TemplateView
templatePathAndFilename: 'resource://MOC.NotFound/Private/Templates/404.html'
variables:
path: '404.html' # skip suffix if unset

0 comments on commit b1ab41c

Please sign in to comment.