symfony2admingenerator/AdmingeneratorGeneratorBundle — pull request #465 by eymengunay (2013-05-28 11:42:37+00:00)
Title: Doctrine MongoDB wrong registry

Currently mongodb filters and batch delete actions rely on `getDoctrine()` method from the symfony base controller.

As that method returns the service `doctrine` instead of `doctrine_mongodb` Registry throws an invalid mapping exception error.

I've added a new method to mongodb `BaseController` which returns `doctrine_mongodb`.

This should also fix #228