Last change
on this file since 67 was
65,
checked in by gav, 16 years ago
|
Some minor format and label correction.
|
File size:
421 bytes
|
Line | |
---|
1 | import org.codehaus.groovy.grails.plugins.springsecurity.Secured |
---|
2 | |
---|
3 | @Secured(['ROLE_USER']) |
---|
4 | class AppCoreController extends BaseController { |
---|
5 | |
---|
6 | def index = { redirect(action:home,params:params) } |
---|
7 | |
---|
8 | // the delete, save and update actions only accept POST requests |
---|
9 | //def allowedMethods = [delete:'POST', save:'POST', update:'POST'] |
---|
10 | |
---|
11 | |
---|
12 | def home = { |
---|
13 | } |
---|
14 | |
---|
15 | @Secured(['ROLE_ADMIN']) |
---|
16 | def admin = { |
---|
17 | } |
---|
18 | |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.