[Catalyst-commits] r9346 -
Catalyst-Runtime/5.80/branches/register_actions/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Thu Feb 19 05:21:51 GMT 2009
Author: rafl
Date: 2009-02-19 05:21:51 +0000 (Thu, 19 Feb 2009)
New Revision: 9346
Modified:
Catalyst-Runtime/5.80/branches/register_actions/lib/Catalyst/Controller.pm
Log:
Don't stringify the meta method. Use its name instead.
Modified: Catalyst-Runtime/5.80/branches/register_actions/lib/Catalyst/Controller.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/register_actions/lib/Catalyst/Controller.pm 2009-02-19 05:21:45 UTC (rev 9345)
+++ Catalyst-Runtime/5.80/branches/register_actions/lib/Catalyst/Controller.pm 2009-02-19 05:21:51 UTC (rev 9346)
@@ -196,7 +196,7 @@
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,
More information about the Catalyst-commits
mailing list