From: Matt S Trout Date: Thu, 22 Jun 2006 14:51:15 +0000 (+0000) Subject: made ChildOf docs slightly less "neat" but significantly less wrong X-Git-Tag: 5.7099_04~497 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=85cea5808b86fa5dda49a31f25bb404c3f1838f9 made ChildOf docs slightly less "neat" but significantly less wrong r10048@cain (orig r4390): matthewt | 2006-06-17 01:27:16 +0000 --- diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 5bdac66..3e6eff3 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -431,7 +431,7 @@ in Controller::Root you can do the following: $c->Model('Sections')->find($c->req->captures->[0]); } - sub item_handler :PathPart('item') :ChildOf('/section') :Args(1) { + sub item_handler :PathPart('item') :ChildOf('/section_handler') :Args(1) { my ( $self, $c ) = @_; $c->stash->{'item'} = $c->stash->{'section'}->find_related('item',$c->args->[0]);