source:
branches/TaskRewrite/src/grails-app/controllers/LogoutController.groovy
@
86
Last change on this file since 86 was 59, checked in by , 16 years ago | |
---|---|
File size: 301 bytes |
Rev | Line | |
---|---|---|
[58] | 1 | /** |
2 | * Logout Controller (Example). | |
3 | */ | |
4 | class LogoutController { | |
5 | ||
6 | /** | |
7 | * Index action. Redirects to the Spring security logout uri. | |
8 | */ | |
9 | def index = { | |
10 | // TODO put any pre-logout code here | |
[59] | 11 | |
12 | redirect(uri: '/j_spring_security_logout?logoutSuccessUrl=/login/loggedOut') | |
[58] | 13 | } |
14 | } |
Note: See TracBrowser
for help on using the repository browser.