forgot name in the default_model service
André Walker [Mon, 11 Jul 2011 16:55:44 +0000 (13:55 -0300)]
lib/Catalyst/IOC/Container.pm

index 2e5d37f..c2e75bf 100644 (file)
@@ -106,6 +106,7 @@ sub build_controller_subcontainer {
 
 sub build_default_model_service {
     Bread::Board::BlockInjection->new(
+        name => 'default_model',
         block => sub {
             shift->param('config')->{default_model};
         },