Bad class in register service AuthorMapper

return new AuthorService 

replaced by 

return new AuthorMapper
This commit is contained in:
drarko
2014-12-10 16:26:43 -03:00
parent 1e16b6f6f4
commit 4dc489ea45

View File

@@ -104,7 +104,7 @@ To add the app's classes simply open the :file:`appinfo/application.php` use the
* Services
*/
$container->registerService('AuthorMapper', function($c){
return new AuthorService(
return new AuthorMapper(
$c->query('ServerContainer')->getDb()
);
});