title: Grails view URL Mapping
body: <p>I'm kind of new to grails and I'm trying to just map a basic URL request to a view.</p>
  
  <p>So, say I have a view, /x/index.gsp and I want the user to be able to go to it.  There will also be /y/index.gsp, /z/index.gsp, etc.</p>
  
  <p>I defined it like so:</p>
  
  <pre><code>"/$customer/index"          { view = {params.customer+"/index"} }
  </code></pre>
  
  <p>This seems to throw an exception though.  I also have :</p>
  
  <pre><code>"/$customer/$controller/$action?/$id?" { }
  </code></pre>
  
  <p>which does work and I don't want to have to create a controller that doesn't really do anything but handle the index call and show it.</p>
  
  <p>I'm sure I'm missing something simple but I don't know what it is. </p>