title: Dynamic page titles in Symfony 1.4
body: <p>I'm wondering if anyone's got any good advice/experience regarding setting dynamic meta titles in Symfony?</p>
  
  <p>Currently, the solution I'm aware of would be to use the following code to set a title individidually in each action:</p>
  
  <pre><code>$this-&gt;getResponse()-&gt;setTitle('This is a title');
  </code></pre>
  
  <p>Because I also need translated titles, I could call the i18n helper in the action to get them included in the extracted XLIFFs. No special SEO stuff needed, just a clean title.</p>
  
  <p>However, the above does require that I tweak every single action separately. View.yml is not suitable as I frequently have multiple actions/templates per module.</p>
  
  <p>Is anyone aware of a better approach in Symfony or is this indeed the right/only way to go?</p>
  
  <p>Thank you.</p>