title: Some mandatory parameters are missing ("id") to generate a URL for route Symfony2
body: <p>My security.yml</p>
  
  <pre><code>firewalls:
      user_area:
          pattern: ^/
          anonymous: ~
          provider: chain_provider
          form_login:
              login_path: login_action
              check_path: login_check
              csrf_provider: form.csrf_provider
              default_target_path: user_show_redirect
          logout:
              path: logout_action
              target: /login
  </code></pre>
  
  <p>I whant after login redirect user to his profile, but i don't know how create the controller. Now, my controller look like</p>
  
  <pre><code> /**
   * @Route("/user/show", name="user_show_redirect")
   * @return array
   */
  public function redirectAction($id)
  {
      return array('user' =&gt; $this-&gt;getUser());
  }
  </code></pre>
  
  <p>I can not figure out how to do the right thing and easy. Please, reply</p>