root/trunk/grails-app/controllers/HomeController.groovy @ 1397

Revision 1397, 0.7 KB (checked in by work@…, 3 years ago)

- disable redirect into setup wizard as there is no setup wizard yet

  • Property svn:keywords set to Author Date Rev
Line 
1import dbnp.studycapturing.Study
2import dbnp.studycapturing.Template
3import org.codehaus.groovy.grails.commons.GrailsApplication
4
5/**
6 * Home Controler
7 *
8 * My Description
9 *
10 * @author  Kees van Bochove
11 * @since   20091102
12 * @package studycapturing
13 *
14 * Revision information:
15 * $Rev$
16 * $Author$
17 * $Date$
18 */
19class HomeController {
20    def index = {
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                    [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count(), facebookLikeUrl: '/' ]
25            //}
26    }
27   
28}
Note: See TracBrowser for help on using the browser.