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