Changeset 1397


Ignore:
Timestamp:
Jan 13, 2011, 5:23:27 PM (6 years ago)
Author:
work@…
Message:
  • disable redirect into setup wizard as there is no setup wizard yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/HomeController.groovy

    r1384 r1397  
    1919class HomeController {
    2020    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 {
    2424                    [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count(), facebookLikeUrl: '/' ]
    25             }
     25            //}
    2626    }
    2727   
Note: See TracChangeset for help on using the changeset viewer.