Skip to content

Commit

Permalink
Fix for smaldini#61
Browse files Browse the repository at this point in the history
For Grails 2.4.x compatibility
  • Loading branch information
yellowsnow committed Jun 9, 2014
1 parent 33e1945 commit f2a11c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/_Events.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import groovy.xml.StreamingMarkupBuilder
import org.codehaus.groovy.grails.commons.ConfigurationHolder
import grails.util.Holders

eventCompileEnd = {
if (!isPluginProject) {
Expand All @@ -32,7 +32,7 @@ def buildConfiguration(basedir) {
if (!sitemeshXml.exists())
return

def config = ConfigurationHolder.config?.events?.push
def config = Holders.config?.events?.push
def urlPattern = config?.servlet?.urlPattern ?: '/g-eventsbus/*'
// Write the atmosphere-decorators.xml file in WEB-INF
def decoratorsDotXml = """\
Expand Down

0 comments on commit f2a11c1

Please sign in to comment.