X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController.pm;fp=lib%2FCatalyst%2FController.pm;h=3ccfc35c98a27fc0d752b80820332f4a66a91d03;hb=c2bdae884dfda03d5d7c24c74d59eb24c25855b6;hp=b23577462d7d55f576c523ea49e830c0486f0fb7;hpb=a842f4920bb47e65459bd0ea5df3a21e1ea2497f;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index b235774..3ccfc35 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -279,11 +279,6 @@ sub _parse_LocalRegex_attr { sub _parse_LocalRegexp_attr { shift->_parse_LocalRegex_attr(@_); } -sub _parse_PathPrefix_attr { - my $self = shift; - return PathPart => $self->path_prefix; -} - sub _parse_ActionClass_attr { my ( $self, $c, $name, $value ) = @_; unless ( $value =~ s/^\+// ) { @@ -351,8 +346,8 @@ overridden from the "namespace" config key. =head2 $self->path_prefix($c) -Returns the default path prefix for :PathPrefix, :Local, :LocalRegex and -relative :Path actions in this component. Defaults to the action_namespace or +Returns the default path prefix for :Local, :LocalRegex and relative +:Path actions in this component. Defaults to the action_namespace or can be overridden from the "path" config key. =head2 $self->create_action(%args) @@ -368,9 +363,10 @@ Primarily designed for the use of register_actions. Returns the application instance stored by C -=head1 AUTHORS +=head1 AUTHOR -Catalyst Contributors, see Catalyst.pm +Sebastian Riedel, C +Marcus Ramberg C =head1 COPYRIGHT