document $c->detach with no args
Yuval Kogman [Thu, 14 Sep 2006 12:27:24 +0000 (12:27 +0000)]
lib/Catalyst.pm

index cb3e86d..2331ae6 100644 (file)
@@ -293,9 +293,13 @@ sub forward { my $c = shift; $c->dispatcher->forward( $c, @_ ) }
 
 =head2 $c->detach( $class, $method, [, \@arguments ] )
 
+=head2 $c->detach()
+
 The same as C<forward>, but doesn't return to the previous action when 
 processing is finished. 
 
+When called with no arguments it escapes the processing chain entirely.
+
 =cut
 
 sub detach { my $c = shift; $c->dispatcher->detach( $c, @_ ) }