[Catalyst-commits] r11779 - Catalyst-Runtime/5.80/trunk/lib

altreus at dev.catalyst.perl.org altreus at dev.catalyst.perl.org
Fri Nov 6 17:14:49 GMT 2009


Author: altreus
Date: 2009-11-06 17:14:49 +0000 (Fri, 06 Nov 2009)
New Revision: 11779

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
Log:
Amend doc to not mention using undef in ->uri_for

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm	2009-11-06 17:13:27 UTC (rev 11778)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm	2009-11-06 17:14:49 UTC (rev 11779)
@@ -1208,8 +1208,7 @@
 
 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




More information about the Catalyst-commits mailing list