Last change
on this file since 1518 was
1430,
checked in by work@…, 12 years ago
|
|
-
Property svn:keywords set to
Rev Author Date
|
File size:
685 bytes
|
Line | |
---|
1 | import dbnp.studycapturing.* |
---|
2 | import org.codehaus.groovy.grails.commons.GrailsApplication |
---|
3 | |
---|
4 | /** |
---|
5 | * Home Controler |
---|
6 | * |
---|
7 | * My Description |
---|
8 | * |
---|
9 | * @author Kees van Bochove |
---|
10 | * @since 20091102 |
---|
11 | * @package studycapturing |
---|
12 | * |
---|
13 | * Revision information: |
---|
14 | * $Rev: 1430 $ |
---|
15 | * $Author: j.saito@maastrichtuniversity.nl $ |
---|
16 | * $Date: 2011-01-21 20:05:36 +0000 (vr, 21 jan 2011) $ |
---|
17 | */ |
---|
18 | class HomeController { |
---|
19 | def index = { |
---|
20 | //if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST && grails.util.GrailsUtil.environment != "dbnptest") { |
---|
21 | // redirect(controller:'setup',action:'index') |
---|
22 | //} else { |
---|
23 | [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count(), facebookLikeUrl: '/' ] |
---|
24 | //} |
---|
25 | } |
---|
26 | |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.