mminella/grails-feature-toggle — comment on commit 4640130b3bc7fdbac9018746c55cb2596b498ad2
File: grails-app/conf/BootStrap.groovy line 18
By ryannorris:

Oh, this is interesting. Does this work okay in grails 2.0? In grails 2.0, it's encouraged that you define actions as methods, not as closures. We need to account for both cases to be truly grails 2.0 kosher.