Statistics
| Revision:

root / web-presentation / trunk / eneraptor-web-presentation / grails-app / conf / com / eneraptor / presentation / LoginFilters.groovy @ 86

History | View | Annotate | Download (291 Bytes)

1 86 alexbesir
package com.eneraptor.presentation
2
3
class LoginFilters {
4
5
    def filters = {
6
        edit(controller:'edit', action:'*') {
7
            before = {
8
                if(session.loggedIn != true) {
9
                                        redirect(controller:'content',action:'view')
10
                                }
11
            }
12
        }
13
    }
14
15
}