Changeset 97


Ignore:
Timestamp:
Jan 19, 2010, 4:26:24 PM (8 years ago)
Author:
duh
Message:
  • moved study bootstrap data down into the development if statement
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r95 r97  
    1616class BootStrap {
    1717        def init = {servletContext ->
    18 
    19             new Study(title:"test",code:"code",researchQuestion:"Rquestion",description:"description",ecCode:"ecCode",dateCreated:new Date(),lastUpdated:new Date(),startDate:new Date()).save()
    2018
    2119                if (GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) {
     
    6159                                name: 'Mouse'
    6260                        ).addToSubjectFields(genotypeTemplateField).save()
     61
     62                        // studies
     63                        new Study(title:"test",code:"code",researchQuestion:"Rquestion",description:"description",ecCode:"ecCode",dateCreated:new Date(),lastUpdated:new Date(),startDate:new Date()).save()
    6364                }
    6465        }
Note: See TracChangeset for help on using the changeset viewer.