Last change
on this file since 1204 was
1119,
checked in by work@…, 12 years ago
|
- initial version of the setup assistant
|
-
Property svn:keywords set to
Author Date Rev
|
File size:
521 bytes
|
Line | |
---|
1 | import dbnp.studycapturing.Study |
---|
2 | import dbnp.studycapturing.Template |
---|
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: 1119 $ |
---|
15 | * $Author: m.s.vanvliet@lacdr.leidenuniv.nl $ |
---|
16 | * $Date: 2010-11-11 12:39:58 +0000 (do, 11 nov 2010) $ |
---|
17 | */ |
---|
18 | class HomeController { |
---|
19 | def index = { |
---|
20 | if (!Template.count()) { |
---|
21 | redirect(controller:'setup',action:'index') |
---|
22 | } else { |
---|
23 | [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count() ] |
---|
24 | } |
---|
25 | } |
---|
26 | |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.