Changeset 932 for trunk/grails-app/conf/BootStrap.groovy
- Timestamp:
- May 19, 2011, 1:38:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r913 r932 1 import org.codehaus.groovy.grails.commons.ConfigurationHolder as CH 2 1 3 class BootStrap 2 4 { … … 15 17 createDataService.ensureSystemAndAdminAccess() 16 18 createDataService.createBaseData() 19 CH.config.demoMode.enabled = true 17 20 createDataService.createDemoData() 18 21 createDataService.startSearchableIndex() … … 28 31 createDataService.ensureSystemAndAdminAccess() 29 32 createDataService.createBaseData() 33 if(CH.config.demoMode.enabled) createDataService.createDemoData() 30 34 createDataService.startSearchableIndex() 31 35 }
Note: See TracChangeset
for help on using the changeset viewer.