Skip to content

Commit 7b8ce27

Browse files
committed
Merge branch '3.1.x' into 3.2.x
2 parents 591c1d5 + 86ffa9f commit 7b8ce27

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

grails-plugin-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ trait ResponseRenderer extends WebAttributes {
275275
if (isPromise) return
276276
}
277277

278-
applyContentType webRequest.currentResponse, argMap, null
278+
applyContentType webRequest.currentResponse, argMap, null, false
279279

280280
Map model
281281
if (modelObject instanceof Map) {

grails-test-suite-uber/src/test/groovy/org/grails/web/servlet/mvc/RenderDynamicMethodTests.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class RenderDynamicMethodTests {
2424
controller.renderView()
2525

2626
assertEquals '/renderDynamicMethodTest/foo', controller.modelAndView.viewName
27-
assertEquals 'text/html;charset=utf-8', response.contentType
2827
}
2928

3029
@Test

0 commit comments

Comments
 (0)