title: Symfony routes keywords
body: <p>I am very confused about Symfony routes.</p>
  
  <p>I have this file, below, and I can't understand the different keywords. For example I don't know how "prefix" works or "pattern" works</p>
  
  <pre><code>fos_user_security:
  resource: "@FOSUserBundle/Resources/config/routing/security.xml"
  
  fos_user_profile:
  resource: "@FOSUserBundle/Resources/config/routing/profile.xml"
  prefix: /profile
  
  fos_user_register:
  resource: "@FOSUserBundle/Resources/config/routing/registration.xml"
  prefix: /register
  
  fos_user_resetting:
  resource: "@FOSUserBundle/Resources/config/routing/resetting.xml"
  prefix: /resetting
  
  fos_user_change_password:
  resource: "@FOSUserBundle/Resources/config/routing/change_password.xml"
  prefix: /profile
  
  #HWIOAuthBundle routes
  hwi_oauth_security:
  resource: "@HWIOAuthBundle/Resources/config/routing/login.xml"
  prefix: /login
  
  hwi_oauth_connect:
  resource: "@HWIOAuthBundle/Resources/config/routing/connect.xml"
  prefix: /login
  
  hwi_oauth_redirect:
  resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml"
  prefix:   /login
  
  facebook_login:
  pattern: /login/check-facebook
  
  google_login:
  pattern: /login/check-google
  
  stefano_zulli:
  resource: "@StefanoZulliBundle/Resources/config/routing.yml"
  prefix:   /
  </code></pre>