Document the horrible, changelog. I'm going to merge this and fix a real issue as...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Controller.pm
index faf4b8e..27b5d0f 100644 (file)
@@ -225,6 +225,8 @@ sub register_action_methods {
 
     foreach my $method (@methods) {
         my $name = $method->name;
+        # Horrible hack! All method metaclasses should have an attributes
+        # method, core Moose bug - see r13354.
         my $attributes = $method->can('attributes') ? $method->attributes : [];
         my $attrs = $self->_parse_attrs( $c, $name, @{ $attributes } );
         if ( $attrs->{Private} && ( keys %$attrs > 1 ) ) {