scaraveos/ZF2-Restful-Module-Skeleton — pull request #6 by taisph (2012-06-11 14:06:28+00:00)
Title: Fatal error in ZF2.0.0b4 if controller is not found

If a route/controller is not found getTarget() returns the Application instead. getServiceLocator() subsequently fails as it is undefined in Application. getApplication()->getServiceManager()->get('di') works in both cases.