projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed dispatcher, so $c->req->action(undef) works again
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Base.pm
diff --git
a/lib/Catalyst/Base.pm
b/lib/Catalyst/Base.pm
index
2a6672b
..
1b672f0
100644
(file)
--- a/
lib/Catalyst/Base.pm
+++ b/
lib/Catalyst/Base.pm
@@
-43,7
+43,9
@@
sub _AUTO : Private {
sub _ACTION : Private {
my ( $self, $c ) = @_;
- $c->action->execute($c);
+ if ( ref $c->action && $c->action->isa('Catalyst::Action') ) {
+ $c->action->execute($c);
+ }
return !@{ $c->error };
}