Skip to content

Commit

Permalink
Merge branch '2.1.x' into 2.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Nov 19, 2012
2 parents 12770f5 + 5de8f1e commit 26ce032
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -35,7 +35,7 @@ class ServletsGrailsPluginSupport {
static enhanceServletApi(ConfigObject config = new ConfigObject()) { static enhanceServletApi(ConfigObject config = new ConfigObject()) {
def requestEnhancer = new MetaClassEnhancer() def requestEnhancer = new MetaClassEnhancer()
final servletRequestApi = new ServletRequestApi() final servletRequestApi = new ServletRequestApi()
final xhrIdentifier = grails?.web?.xhr?.identifier final xhrIdentifier = config?.grails?.web?.xhr?.identifier
if(xhrIdentifier instanceof Closure) { if(xhrIdentifier instanceof Closure) {
servletRequestApi.xhrRequestIdentifier = xhrIdentifier servletRequestApi.xhrRequestIdentifier = xhrIdentifier
} }
Expand Down

0 comments on commit 26ce032

Please sign in to comment.