title: how to redirect to a gsp page( grails)?
body: <p>I have somme trouble in my app.
  there are two domain classes :
  1st named patient
  2nd named antecedants </p>
  
  <p>When i show a patient ,instance of antecedants is displayed.
  when i click it it goes to the antecedants view/show .
  the delete button  below is clickable </p>
  
  <pre><code> &lt;g:if test="${patientInstance.antecedant == null}"&gt;
              &lt;li &gt;&lt;g:link  class="create" params="[id: patientInstance.id]" controller="Antecedants" action="create" id="${this.id }"&gt;Saisir les antecedants&lt;/g:link&gt;  &lt;/li&gt;
              &lt;/g:if&gt;
  </code></pre>
  
  <p>so when i do, i sent a parameter within a g:link to the antecedants controller named num (for test) , all of this to get back to the patient it all began with:</p>
  
  <pre><code>redirect (uri: "/patient/show/${y}")
  </code></pre>
  
  <p>And that's where the issue comes , when i run it and go to the view/antecedant/1 and i click on delete ,it takes me to an 405 error page .description :The specified HTTP method is not allowed for the requested resource.</p>
  
  <pre><code>    def y=params.num
      antecedantsInstance.delete flush:true
  </code></pre>
  
  <p>thank you in advance.</p>