Skip to content

Commit

Permalink
Merge pull request #5419 from mhsdesign/bugfix/reimplment-appendExcee…
Browse files Browse the repository at this point in the history
…dingArguments-for-preview-route

BUGFIX: reimplement `appendExceedingArguments` for preview route
  • Loading branch information
mhsdesign authored Jan 13, 2025
2 parents af030d1 + 282d6c1 commit 792e1b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions Neos.Neos/Configuration/Routes.Frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
uriPattern: 'neos/preview'
defaults:
'@action': 'preview'
appendExceedingArguments: true

-
name: 'Default Frontend'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ prototype(Neos.Workspace.Ui:Component.ReviewDocumentTableRow) < prototype(Neos.F
i18n = ${I18n.id('').source('Main').package('Neos.Workspace.Ui')}

openNodeInPreviewAction = Neos.Fusion:ActionUri {
request=${request.mainRequest}
package='Neos.Neos'
controller='Frontend\\\Node'
request = ${request.mainRequest}
package = 'Neos.Neos'
controller = 'Frontend\\\Node'
action = 'preview'
// todo fixme
@process.addQuery = ${value + '?node=' + document.document.documentNodeAddress}
arguments = ${{node: document.document.documentNodeAddress}}
}
discardDocumentAction = Neos.Fusion:ActionUri {
action = 'discardDocument'
Expand Down

0 comments on commit 792e1b6

Please sign in to comment.