sonata-project/SonataMediaBundle — pull request #602 by dantleech (2014-07-24 20:45:20+00:00)
Title: Two fixes related to making PHPCR-ODM work

- Changed requirements on routes to use .* to allow full paths
- Use ->find($id) instead of ->findBy(array('id' => $id)) which would
never work with PHPCR-ODM

Relates to PR on core bundle: https://github.com/sonata-project/SonataCoreBundle/pull/82