Ignore:
Timestamp:
Nov 20, 2009, 3:13:48 PM (15 years ago)
Author:
gav
Message:

Remove the auto inserted login credentials and message in production mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/WebAlbumTagLib.groovy

    r182 r194  
    22
    33    static namespace = "wa"
    4 
    5     def ifDevEnv = { attrs, body ->
    6         def map = grailsApplication.metadata
    7         String env = map[grailsApplication.ENVIRONMENT]
    8         if (env == grailsApplication.ENV_DEVELOPMENT) {
    9             out << body()
    10         }
    11     }
    124
    135    def pictureAnchor = { attrs, body ->
Note: See TracChangeset for help on using the changeset viewer.