History | View | Annotate | Download (291 Bytes)
package com.eneraptor.presentation
class LoginFilters {
def filters = {
edit(controller:'edit', action:'*') {
before = {
if(session.loggedIn != true) {
redirect(controller:'content',action:'view')
}