title: In Symfony2 how do I redirect within a Controller to a URL with an anchor tag/hash
body: <p>I'm in a Controller and I want to redirect back to a URL, say /home/news/example#comment1423</p>
  
  <p>How can I add the hash in to the return params?</p>
  
  <pre><code>return $this-&gt;redirect(
      $this-&gt;generateUrl("news_view", array("permalink" =&gt; "example"))
  );
  </code></pre>