X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=7cd470cbde4f37c6ebc13a5f917ae967bd7500cc;hp=94b0c850bde743c2ae69872c76588d3143d0434b;hb=ab2f881bb0d97543af0ca1d1261dc5eeba38ca7d;hpb=d71da6fe568d10f14edeeb8c4bb7280c577542d8 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 94b0c85..7cd470c 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1208,8 +1208,7 @@ When used as a string, provides a textual URI. If no arguments are provided, the URI for the current action is returned. To return the current action and also provide @args, use -C<< $c->uri_for( $c->action, @args ) >>. Don't do -C<< $c->uri_for( undef, @args ) >>. +C<< $c->uri_for( $c->action, @args ) >>. If the first argument is a string, it is taken as a public URI path relative to C<< $c->namespace >> (if it doesn't begin with a forward slash) or