[Search Result]  fixed bug when admin doesn't has edit route.

I get the following error :

```
An exception has been thrown during the rendering of a template ("unable to find the route `test.admin.foo.edit`") in SonataAdminBundle:Block:block_search_result.html.twig at line 33.
```