Skip to content
Browse files

updated version to 2.3.6 and removed ApplicationHolder

  • Loading branch information...
1 parent 3e29b2a commit 63a146af71e29972fc122c7e63c9634a4d48c432 @davydotcom davydotcom committed
Showing with 3 additions and 4 deletions.
  1. +1 −1 application.properties
  2. +2 −3 grails-app/conf/FontAwesomePluginResources.groovy
View
2 application.properties
@@ -1,4 +1,4 @@
#Grails Metadata file
#Sat Sep 28 00:53:08 CST 2013
-app.grails.version=2.3.1
+app.grails.version=2.3.6
app.name=font-awesome-resources
View
5 grails-app/conf/FontAwesomePluginResources.groovy
@@ -1,9 +1,8 @@
def log = org.slf4j.LoggerFactory.getLogger('grails.plugins.twitterbootstrap.FontAwesomePluginResources')
def dev = grails.util.GrailsUtil.isDevelopmentEnv()
-
-def applicationContext = org.codehaus.groovy.grails.commons.ApplicationHolder.application.mainContext
+def applicationContext = grails.util.Holders.applicationContext
def lesscssPlugin = applicationContext.pluginManager.getGrailsPlugin('lesscss-resources') || applicationContext.pluginManager.getGrailsPlugin('less-resources')
-def configDefaultBundle = org.codehaus.groovy.grails.commons.ApplicationHolder.application.config.grails.plugins.fontawesomeresources.defaultBundle
+def configDefaultBundle = grails.util.Holders.config.grails.plugins.fontawesomeresources.defaultBundle
if (!configDefaultBundle && !configDefaultBundle.equals(false)) {
configDefaultBundle = 'bundle_fontawesome'
}

0 comments on commit 63a146a

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