X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController.pm;h=f23ad4a1d84e1923427a82d915be44fa63d3ef0e;hb=a202886b47ea577ff9e29c18214a7c02cfd8b9e3;hp=c8db2e7a1bb0ded993de5a3c47f08771eaf4ca85;hpb=d2598ac82e8508f4d6da90ec60a1ed60840c2016;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index c8db2e7..f23ad4a 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -211,10 +211,9 @@ sub register_action_methods { #this is still not correct for some reason. my $namespace = $self->action_namespace($c); - # Uncomment as soon as you fix the tests :) - #if (!blessed($self) && $self eq $c && scalar(@methods)) { - # $c->log->warn("Action methods found defined in your application class, $self. This is deprecated, please move them into a Root controller."); - #} + if (!blessed($self) && $self eq $c && scalar(@methods)) { + $c->log->warn("Action methods found defined in your application class, $self. This is deprecated, please move them into a Root controller."); + } foreach my $method (@methods) { my $name = $method->name;