Skip to content

Commit ab1acf7

Browse files
committed
Fix the argument
1 parent f7204d7 commit ab1acf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Packages/Sites/Sfi.Site/Resources/Private/Fusion/NodeTypes/SermonJson.fusion

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
root.sermonJson {
2-
condition = ${request.format == 'json'}
2+
condition = ${request.arguments.format == 'json'}
33
renderer = Neos.Fusion:Http.Message {
44
httpResponseHead {
55
headers.Content-Type = 'application/json;charset=utf-8'
@@ -8,6 +8,7 @@ root.sermonJson {
88
content = Sfi.Site:SermonJsonRenderer
99
}
1010
}
11+
root.@cache.entryIdentifier.format = ${request.arguments.format}
1112

1213
prototype(Sfi.Site:SermonJsonRenderer) < prototype(Sfi.Site:SermonJson) {
1314
@process.1 = ${Json.stringify(value)}

0 commit comments

Comments
 (0)