Ignore:
Timestamp:
Jan 12, 2011, 10:00:59 PM (10 years ago)
Author:
business@…
Message:

added webtest plugin and first (working) webtest, renamed 'test' configuration to 'nmcdsptest' to avoid conflicts with grails default test environment

File:
1 edited

Legend:

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

    r1242 r1384  
    11import dbnp.studycapturing.Study
    22import dbnp.studycapturing.Template
     3import org.codehaus.groovy.grails.commons.GrailsApplication
    34
    45/**
     
    1819class HomeController {
    1920    def index = {
    20             if (!Template.count()) {
     21            if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST) {
    2122                    redirect(controller:'setup',action:'index')             
    2223            } else {
Note: See TracChangeset for help on using the changeset viewer.