title: symfony 1.4 routing with sf_format
body: <p>I'm doing mobile detection and setting sf_format to 'mobile' as per <a href="http://webmozarts.com/2010/09/07/creating-mobile-symfony-sites/" rel="nofollow">these instructions</a>.</p>
  
  <p>But I'm having trouble creating separate routes for the mobile format. Is it possible to have two routes with the same url? The following setup isn't working for me:</p>
  
  <pre><code>mobile_homepage:
    url: /
    param: { module: mobile, action: index, sf_format: html }
    requirements:
      sf_format: mobile
  
  homepage:
    url: /
    param: { module: site, action: index }
  </code></pre>
  
  <p>The mobile_homepage route is always matched regardless of sf_format.</p>