source: trunk/grails-app/controllers/LogoutController.groovy @ 477

Last change on this file since 477 was 59, checked in by gav, 16 years ago

Lots of changes to setup Acegi, should be complete with all current pages secured.
Added CSS and PersonGroup? and PersonGroupType?.
Adjust BootStrap? to suite.
Add Home and Admin pages.

File size: 301 bytes
Line 
1/**
2 * Logout Controller (Example).
3 */
4class 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.