title: Grails beforeInterceptor with 2 actions
body: <p>Can we define 2 different actions in beforeInterceptor of a Grails controller? I have a controller with below beforeInterceptor:  </p>
  
  <pre><code>def beforeInterceptor = [action:this.&amp;debug]
  
  def trimParams() {
      params?.each { it = it.toString().trim() }
  }
  def debug() {
      log.info("${actionUri} with params ${params}")
  }
  </code></pre>
  
  <p>How can I add the 'trimParams' action to interceptor along with 'debug' action? I do not know the exact syntax of this. Thank you so much.</p>