title: why logout doesn't work? Symfony2
body: <p>I am clicking my logout button which is supposed to log me out. I did everything according to documentary but still I receive the following error</p>
  
  <pre><code>Unable to find the controller for path "/logout". The route is wrongly configured.
  </code></pre>
  
  <p>Here is my security.yml</p>
  
  <pre><code>firewalls:
    main:
      anonymous: ~
    dev:
      pattern:  ^/(_(profiler|wdt)|css|images|js)/
      security: false
    secured_area:
      pattern:    ^/
      form_login:
          login_path:  /login
          check_path:  /login_check
          default_target_path: /
      logout:
          path:   /logout
          target: /
          invalidate_session: false
  </code></pre>
  
  <p>And I of course added</p>
  
  <pre><code>logout:
      path: /logout
  </code></pre>
  
  <p>to the routing.yml</p>
  
  <p>What is wrong with my logout?</p>