This message was deleted.
# general
s
This message was deleted.
👍 2
o
Very nice. Do this also handle the message method in controllers?
v
Not sure what you mean. I have a config for Grails, which applies the same extension as GrailsCompileStatic.
o
This code fails with GrailsCompileStatic
Copy code
@GrailsCompileStatic
    def hello(){
        flash.message = message(code: 'hello')
        render view: '/sentence/list'
    }
v
I would say that's a bug that you should raise against Grails then. Although they may suggest the workaround of using the MessageSource bean.