Stop confusing future readers by removing code that doesn't actually do anything.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Controller.pm
index 0ccdcb5..18c8259 100644 (file)
@@ -183,7 +183,6 @@ sub register_actions {
     my $namespace = $self->action_namespace($c);
     my $meta = find_meta($self);
     my %methods = map { $_->body => $_->name }
-        grep { $_->package_name ne 'Moose::Object' } #ignore Moose::Object methods
             $meta->get_all_methods;
 
     # Advanced inheritance support for plugins and the like