title: How to redirect from a controller using a named URL mapping?
body: <p>I have a URL mapping as below:</p>
  
  <pre><code>static mappings = {
          name register: "/register" {
              controller = "account"
              action = "createuser"
          }
  }
  </code></pre>
  
  <p>and I want to redirect using this mapping from a controller with something like:</p>
  
  <pre><code>redirect mapping:'register'
  </code></pre>
  
  <p>Unfortunately, unlike <a href="http://www.grails.org/doc/latest/ref/Tags/createLink.html" rel="nofollow">createLink</a> tag lib, it seems that <a href="http://www.grails.org/doc/latest/ref/Controllers/redirect.html" rel="nofollow">redirect</a> does not accept <code>mapping</code> as input parameter.</p>
  
  <p>So my question is : How can I use my named URL mapping for redirection ?</p>