Permalink
Browse files

fix compilation error

  • Loading branch information...
graemerocher committed Nov 19, 2012
1 parent e5d0ca1 commit 5de8f1ea75a002ee218354b767b2893edf53e1bf
@@ -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 5de8f1e

Please sign in to comment.