Changeset 1384
- Timestamp:
- Jan 12, 2011, 10:00:59 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/application.properties
r1382 r1384 1 1 #Grails Metadata file 2 #Wed Jan 12 1 7:31:11CET 20112 #Wed Jan 12 18:46:36 CET 2011 3 3 app.build.display.info=0 4 4 app.build.svn.revision=1079 … … 23 23 plugins.tomcat=1.3.6 24 24 plugins.webflow=1.3.6 25 plugins.webtest=3.0.1 -
trunk/grails-app/conf/BootStrap.groovy
r1247 r1384 60 60 // - ontologies 61 61 // - and/or studies 62 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT || grails.util.GrailsUtil.environment == "dbnpdemo") {62 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT || grails.util.GrailsUtil.environment == GrailsApplication.ENV_TEST || grails.util.GrailsUtil.environment == "dbnpdemo") { 63 63 // add ontologies? 64 64 if (!Ontology.count()) BootStrapTemplates.initTemplateOntologies() -
trunk/grails-app/controllers/HomeController.groovy
r1242 r1384 1 1 import dbnp.studycapturing.Study 2 2 import dbnp.studycapturing.Template 3 import org.codehaus.groovy.grails.commons.GrailsApplication 3 4 4 5 /** … … 18 19 class HomeController { 19 20 def index = { 20 if (!Template.count() ) {21 if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST) { 21 22 redirect(controller:'setup',action:'index') 22 23 } else {
Note: See TracChangeset
for help on using the changeset viewer.