X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FIntro.pod;h=3e6eff3ab7ce0a2e8d15db93947e75e7a29a9937;hb=85cea5808b86fa5dda49a31f25bb404c3f1838f9;hp=5bdac66b35c17fa897f4c383c7ae71d014a9da58;hpb=2c23b46d57d31a415a6676656ea86d26599af52a;p=catagits%2FCatalyst-Runtime.git 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]);