projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c539a1c
)
Fixed $self, maybe
Sebastian Riedel [Mon, 18 Apr 2005 19:31:15 +0000 (19:31 +0000)]
lib/Catalyst/Engine.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
e25b205
..
257a8cd
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-126,7
+126,7
@@
Errors are available via $c->error.
sub execute {
my ( $c, $class, $code ) = @_;
- $class = $c->comp($class) || $class;
+ $class = $c->components->{$class} || $class;
$c->state(0);
my $callsub = ( caller(1) )[3];