Changeset 1397

Show
Ignore:
Timestamp:
13-01-11 17:23:27 (3 years ago)
Author:
work@…
Message:

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

Files:
1 modified

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