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

Revision 59, 301 bytes checked in by gav, 9 years ago (diff)

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.

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.