From: Alastair McGowan-Douglas Date: Fri, 6 Nov 2009 17:14:49 +0000 (+0000) Subject: Amend doc to not mention using undef in ->uri_for X-Git-Tag: 5.80014~15^2~2^2~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=9c48a04e2fafd7d2dff461ebd1ed1bd6aea6823d Amend doc to not mention using undef in ->uri_for --- 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