- Added missing fallback to Catalyst::Action as spotted by Frank Wiegand
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Action.pm
index b2a0947..0002ef7 100644 (file)
@@ -13,6 +13,9 @@ use overload (
     # Codulate to encapsulated action coderef
     '&{}' => sub { shift->{code} },
 
+    # Make general $stuff still work
+    fallback => 1,
+
 );
 
 =head1 NAME
@@ -27,15 +30,13 @@ See L<Catalyst>.
 
 =head1 METHODS
 
-=over 4
-
-=item attributes
+=head2 attributes
 
-=item class
+=head2 class
 
-=item code
+=head2 code
 
-=item execute
+=head2 execute
 
 =cut
 
@@ -45,13 +46,11 @@ sub execute {    # Execute ourselves against a context
     return $c->execute( $self->class, $self );
 }
 
-=item namespace
-
-=item reverse
+=head2 namespace
 
-=item name
+=head2 reverse
 
-=back
+=head2 name
 
 =head1 AUTHOR