KnpLabs/KnpRadBundle — pull request #57 by Aitboudad (2013-02-24 22:19:45+00:00)
Title: Fixing undefined variable $repository in Controller

Hi ,
When I call function findOr404:

$this->findOr404($this->get('app.entity.cheese_repository'), array('id' => 1));

I get this error:

Fatal error: Call to a member function findOneBy() on a non-object in /src/Knp/RadBundle/Controller/Controller.php on line 80