sensio/SensioFrameworkExtraBundle — pull request #132 by zerkalica (2012-06-27 15:30:43+00:00)
Title: Custom request parameter name in options

Model id parameter name hardcoded in DoctrineParamConverter::find as id. This fix adds parameter name mapping.

``` php

* @Route ("/{user}/show")
* @ParamConverter("user", class="MillwrightUserBundle:User", options={"id" = "user"})
* @Template()
*
* @return array
*/
public function showAction(UserInterface $user)
{
}
```