- Timestamp:
- May 7, 2011, 12:42:44 PM (14 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/trunk merged eligible /branches/features/grailsUpgrade 889-911
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/features/purchaseOrders/grails-app/controllers/AppCoreController.groovy
r707 r920 58 58 59 59 // Build the plugins string. 60 def pluginProperties = grailsApplication.metadata.findAll {it.key.contains('plugin')} 61 pluginProperties.each() { 62 it.key = WordUtils.capitalize( (it.key + GString.EMPTY).split("\\.")[-1] ) 63 } 64 pluginProperties = pluginProperties.sort { p1, p2 -> p1.key.compareToIgnoreCase(p2.key) } 65 def plugins = pluginProperties.collect{ it.key + '-' + it.value }.join(", ") 60 def userPlugins = org.codehaus.groovy.grails.plugins.PluginManagerHolder.pluginManager.userPlugins 61 62 userPlugins = userPlugins.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } 63 64 def plugins = userPlugins.collect{ 65 WordUtils.capitalize(it.name) + '-' + it.version 66 }.join(", ") 66 67 67 68 def sections = Section.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }
Note: See TracChangeset
for help on using the changeset viewer.