This prevents things from blowing up if the controller instance doesn't know
about its action namespace already, when the attribute value is being parsed.
Closes RT#42816. Courtesy of Jason Kohles.
}
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 {