sonata-project/SonataAdminBundle — pull request #1493 by shima5 (2013-08-01 14:12:11+00:00)
Title: Fix generateObjectUrl

generateObjectUrl() now works correctly when you specify an entity other than the entity of the current admin class.

For example :
In FooAdmin.php

```
generateObjectUrl('list', $bar) // will generate /admin/acme/core/bar/1/list
// previously it generated /admin/acme/core/foo/1/list
```