source:
branches/features/taskProcedureRework/grails-app/controllers/LogoutController.groovy
@
818
| Last change on this file since 818 was 59, checked in by , 17 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.
