Fix minor uri_for documentation bug.
Florian Ragwitz [Wed, 27 May 2009 21:38:14 +0000 (21:38 +0000)]
Courtesy of Fred Steinberg. Closes RT#46307.

lib/Catalyst.pm

index 2e60a3c..e877ac8 100644 (file)
@@ -1163,7 +1163,7 @@ using C<< $c->req->captures >>.
   $c->uri_for($c->action, $c->req->captures);
 
   # For the Foo action in the Bar controller
-  $c->uri_for($c->controller->('Bar')->action_for('Foo'), $c->req->captures);
+  $c->uri_for($c->controller('Bar')->action_for('Foo'), $c->req->captures);
 
 =back