Changeset 1397 for trunk/grails-app/controllers
- Timestamp:
- Jan 13, 2011, 5:23:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/HomeController.groovy
r1384 r1397 19 19 class HomeController { 20 20 def index = { 21 if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST) {22 redirect(controller:'setup',action:'index')23 } else {21 //if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST && grails.util.GrailsUtil.environment != "dbnptest") { 22 // redirect(controller:'setup',action:'index') 23 //} else { 24 24 [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count(), facebookLikeUrl: '/' ] 25 }25 //} 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.