projects
/
catagits/CatalystX-DynamicComponent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Shitting all over the application config in the model generator was somewhat unfriend...
[catagits/CatalystX-DynamicComponent.git]
/
lib
/
CatalystX
/
DynamicComponent
/
ModelsFromConfig.pm
diff --git
a/lib/CatalystX/DynamicComponent/ModelsFromConfig.pm
b/lib/CatalystX/DynamicComponent/ModelsFromConfig.pm
index
dffefa3
..
489546c
100644
(file)
--- a/
lib/CatalystX/DynamicComponent/ModelsFromConfig.pm
+++ b/
lib/CatalystX/DynamicComponent/ModelsFromConfig.pm
@@
-16,7
+16,7
@@
with 'CatalystX::DynamicComponent' => {
COMPONENT => sub {
my ($component_class_name, $app, $args) = @_;
- my $class = delete $args->{class};
+ my $class = $args->{class};
Class::MOP::load_class($class);
$class->new($args);