Skip to content

Commit

Permalink
Merge pull request #12 from Sebobo/bugfix/dimensions-issue
Browse files Browse the repository at this point in the history
BUGFIX: Prevent 404 error with empty dimension segments
  • Loading branch information
breadlesscode authored Mar 31, 2020
2 parents 5a94d61 + 1694802 commit 0fc828b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Classes/Package/FrontendNodeRoutePartHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class FrontendNodeRoutePartHandler extends NeosFrontendNodeRoutePartHandler
* folder mixin type for hiding uri segement
*/
const MIXIN_PROPERTY_NAME = 'hideSegmentInUriPath';

/**
* @Flow\InjectConfiguration("routing.supportEmptySegmentForDimensions", package="Neos.Neos")
* @var boolean
*/
protected bool $supportEmptySegmentForDimensions;

/**
* @param string $requestPath
* @return string
Expand Down

0 comments on commit 0fc828b

Please sign in to comment.