Changeset 454 for trunk/grails-app/conf
- Timestamp:
- May 21, 2010, 10:04:49 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r453 r454 19 19 // define timezone 20 20 System.setProperty('user.timezone', 'CET') 21 22 // Ontologies must be connected to the templatefields in runtime 23 // because the Ontology.findByNcboId is not available otherwise 24 TemplateEntity.getField( Subject.domainFields, 'species' ).ontologies = [Ontology.findByNcboId(1132)] 25 TemplateEntity.getField( Sample.domainFields, 'material' ).ontologies = [Ontology.findByNcboId(1005)] 21 26 22 27 // we could also check if we are in development by GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT
Note: See TracChangeset
for help on using the changeset viewer.