source:
trunk/grails-app/controllers/LogoutController.groovy
@
877
Last change on this file since 877 was 59, checked in by , 16 years ago | |
---|---|
File size: 301 bytes |
Line | |
---|---|
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 |
11 | |
12 | redirect(uri: '/j_spring_security_logout?logoutSuccessUrl=/login/loggedOut') |
13 | } |
14 | } |
Note: See TracBrowser
for help on using the repository browser.