From: Florian Ragwitz Date: Thu, 19 Feb 2009 05:21:51 +0000 (+0000) Subject: Don't stringify the meta method. Use its name instead. X-Git-Tag: 5.80001~40^2~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bc6779694182f9c5b08665b6624693612db5ea91 Don't stringify the meta method. Use its name instead. --- diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 7217551..e821a46 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -196,7 +196,7 @@ sub register_actions { if $c->debug; next; } - my $reverse = $namespace ? "${namespace}/${method}" : $method; + my $reverse = $namespace ? "${namespace}/${name}" : $name; my $action = $self->create_action( name => $name, code => $method->body,