projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f532563
)
Fix $self vs $class, davewood++
Tomas Doran [Thu, 10 Jun 2010 09:54:11 +0000 (09:54 +0000)]
lib/Catalyst/Component.pm
patch
|
blob
|
blame
|
history
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);
}