Skip to content
Browse files

Merge branch '2.2.x'

  • Loading branch information...
2 parents bfae036 + 26ce032 commit ffcfae7f96f700656776c769437ad21d63d44190 @graemerocher graemerocher committed Nov 19, 2012
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 ffcfae7

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