Reformatted documentation
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Action.pm
index 9b2ea9f..130006a 100644 (file)
@@ -27,30 +27,27 @@ See L<Catalyst>.
 
 =head1 METHODS
 
-=over 4
+=head2 attributes
 
-=item attributes
+=head2 class
 
-=item class
+=head2 code
 
-=item code
-
-=item execute
+=head2 execute
 
 =cut
 
 sub execute {    # Execute ourselves against a context
     my ( $self, $c ) = @_;
+    local $c->namespace = $self->namespace;
     return $c->execute( $self->class, $self );
 }
 
-=item namespace
-
-=item reverse
+=head2 namespace
 
-=item name
+=head2 reverse
 
-=back
+=head2 name
 
 =head1 AUTHOR