Grails beforeInterceptor异常

Grails beforeInterceptor异常,grails,Grails,我想指定多个函数作为beforeInterceptor的例外,如果可能的话,有人能告诉我下面语法的正确版本吗 def beforeInterceptor = [action: this.&auth, except: 'authenticate','index'] 谢谢。遵循Grails中的其他特性,我假设语法将使用字符串列表。例如: def beforeInterceptor = [action: this.&auth, except: ['authenticate','ind

我想指定多个函数作为beforeInterceptor的例外,如果可能的话,有人能告诉我下面语法的正确版本吗

def beforeInterceptor = [action: this.&auth, except: 'authenticate','index']

谢谢。

遵循Grails中的其他特性,我假设语法将使用字符串列表。例如:

def beforeInterceptor = [action: this.&auth, except: ['authenticate','index']]