The code which offended me is expunged
[catagits/CatalystX-DynamicComponent.git] / lib / CatalystX / DynamicComponent.pm
index af0e9ee..cb35da4 100644 (file)
@@ -114,9 +114,6 @@ role {
             }
         }
 
-        # stash the config of this generated class away
-        $meta->add_method('dynamic_model_config', sub { return $app->config->{$name} }); 
-
         $meta->make_immutable;
 
         my $instance = $app->setup_component($component_name);