Changeset 194 for trunk/grails-app/taglib
- Timestamp:
- Nov 20, 2009, 3:13:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/taglib/WebAlbumTagLib.groovy
r182 r194 2 2 3 3 static namespace = "wa" 4 5 def ifDevEnv = { attrs, body ->6 def map = grailsApplication.metadata7 String env = map[grailsApplication.ENVIRONMENT]8 if (env == grailsApplication.ENV_DEVELOPMENT) {9 out << body()10 }11 }12 4 13 5 def pictureAnchor = { attrs, body ->
Note: See TracChangeset
for help on using the changeset viewer.