title: Grails urlmappings, can one prefix urlmappings?
body: <p>So for instance, say i have an API on a webapp, and i wish to use the same controllers and actions in the API as the rest of the webapp.</p>
  
  <p>In my urlmappings file i have</p>
  
  <pre><code>"/api/$version/$apiKey/$controller/$acion/$id?"
  </code></pre>
  
  <p>and i also have a mapping like this:</p>
  
  <pre><code>"/blog/$year/$month/$day/$action" {
     controller = 'blog'
   }
  </code></pre>
  
  <p>Now the question is, can i somehow prefix the api urlmapping to the blog urlmapping so i can benefit from the $year, $month, $day variables? in such a way that a GET request to the following url would be valid: </p>
  
  <pre><code>GET /api/0.1/bs23mk4m2n4k/blog/2001/01/05/list
  </code></pre>
  
  <p>or am i forced to do the following request instead?</p>
  
  <pre><code>GET /api/0.1/bs23mk4m2n4k/blog/list?year=2004&amp;month=01&amp;day=05
  </code></pre>
  
  <p>Need help from an urlmappings GURU or a groovy runtime urlmappings maniuplation WIZARD :)</p>
  
  <p>I want a solution that can reuse existing non-api urmappings, instead of having to redeclare them with the api path as a prefix.</p>