projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix $self vs $class, davewood++
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Component.pm
diff --git
a/lib/Catalyst/Component.pm
b/lib/Catalyst/Component.pm
index
1b2d462
..
2fd7181
100644
(file)
--- a/
lib/Catalyst/Component.pm
+++ b/
lib/Catalyst/Component.pm
@@
-185,7
+185,7
@@
something like this:
sub COMPONENT {
my ($class, $app, $args) = @_;
- $args = $self->merge_config_hashes($self->config, $args);
+ $args = $class->merge_config_hashes($class->config, $args);
return $class->new($app, $args);
}