title: Routing in Symfony2
body: <p>How to setup default routing in Symfony2?</p>
  
  <p>In Symfony1 it looked something like this:</p>
  
  <pre><code>homepage:
    url:   /
    param: { module: default, action: index }
  
  default_symfony:
    url:   /symfony/:action/...
    param: { module: default }
  
  default_index:
    url:   /:module
    param: { action: index }
  
  default:
    url:   /:module/:action/...
  </code></pre>