#this is still not correct for some reason.
my $namespace = $self->action_namespace($c);
my $meta = find_meta($self);
+ confess("Wrong metaclass $meta for $self - " . $meta->name)
+ unless $meta->can('get_all_methods_with_attributes');
my @methods = $meta->get_all_methods_with_attributes;
foreach my $method (@methods) {