Questions about grails filters
- by manojsingh
Basically I have 2 questions regarding grails filters.
According to grails documentation you can do something like below in a filter
if (userId != paramsUserId) {
flash.message = "You can only modify yourself"
redirect(action: 'list')
return false
}
If the above condition is true then how will the return statement get executed ?
Can I have a redirect in my filter to a some action which also has a redirect ?