[Catalyst-dev] [PATCH] Catalyst.pm documentation of uri_for
mike
pulsation at gmail.com
Fri Feb 24 00:36:06 CET 2006
the parameter support in Catalyst->uri_for was not documented...
=== snip === snip === snip ===
diff -Nru Catalyst-5.65-orig/lib/Catalyst.pm Catalyst-5.65/lib/Catalyst.pm
--- Catalyst-5.65-orig/lib/Catalyst.pm 2006-02-20 08:55:27.000000000 -0600
+++ Catalyst-5.65/lib/Catalyst.pm 2006-02-23 15:40:54.203201400 -0600
@@ -701,7 +701,9 @@
Merges path with C<$c-E<gt>request-E<gt>base> for absolute uri's and
with C<$c-E<gt>namespace> for relative uri's, then returns a
normalized L<URI> object. If any args are passed, they are added at the
-end of the path.
+end of the path. If the last argument to uri_for is a hash reference,
+it is assumed to contain GET parameter key/value pairs, which will be
+appended to the URI in standard fashion.
=cut
=== snip === snip === snip ===
More information about the Catalyst-dev
mailing list