X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalystX%2FDynamicComponent.pm;h=af0e9ee98059601226ebc9108a8d5cd0b1b4be54;hb=6eb165c2ae94674e95f6361646025dd7e17672ec;hp=ea12cb8a63d33f02a3de4f69619ba78ffdf4eeda;hpb=62680454702e9e94f5ebc8faf67324735a9ca461;p=catagits%2FCatalystX-DynamicComponent.git diff --git a/lib/CatalystX/DynamicComponent.pm b/lib/CatalystX/DynamicComponent.pm index ea12cb8..af0e9ee 100644 --- a/lib/CatalystX/DynamicComponent.pm +++ b/lib/CatalystX/DynamicComponent.pm @@ -114,8 +114,8 @@ role { } } - # stash the config of this generated class away - $meta->add_method('config', sub { return $app->config->{$name} }); + # stash the config of this generated class away + $meta->add_method('dynamic_model_config', sub { return $app->config->{$name} }); $meta->make_immutable;