Changeset 1384 for trunk/grails-app/controllers/HomeController.groovy
- Timestamp:
- Jan 12, 2011, 10:00:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.