Skip to content
Browse files

Merge branch '2.1.x' into 2.2.x

  • Loading branch information...
2 parents 12770f5 + 5de8f1e commit 26ce032cc400f4d85b5054c28578cc3112da2f9b @graemerocher graemerocher committed
View
2 ...src/main/groovy/org/codehaus/groovy/grails/plugins/web/ServletsGrailsPluginSupport.groovy
@@ -35,7 +35,7 @@ class ServletsGrailsPluginSupport {
static enhanceServletApi(ConfigObject config = new ConfigObject()) {
def requestEnhancer = new MetaClassEnhancer()
final servletRequestApi = new ServletRequestApi()
- final xhrIdentifier = grails?.web?.xhr?.identifier
+ final xhrIdentifier = config?.grails?.web?.xhr?.identifier
if(xhrIdentifier instanceof Closure) {
servletRequestApi.xhrRequestIdentifier = xhrIdentifier
}

0 comments on commit 26ce032

Please sign in to comment.
Something went wrong with that request. Please try again.