push(
@methods,
map {
- $meta->get_method($_)
+ $meta->find_method_by_name($_)
|| confess( 'Action "'
. $_
. '" is not available from controller '
}
sub _parse_PathPrefix_attr {
- my $self = shift;
- return PathPart => $self->path_prefix;
+ my ( $self, $c ) = @_;
+ return PathPart => $self->path_prefix($c);
}
sub _parse_ActionClass_attr {