X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FAction.pm;h=9b2ea9fed4f3e759faa9c0e7cf534094c5cb6c11;hp=0bc165aa880282d3d6d84665c741a5a1a4da9b35;hb=11bd4e3eaa29685c44318041381621e79c4a5f44;hpb=5d1266aecbc3b839f0b904093ccf282a73e06c91 diff --git a/lib/Catalyst/Action.pm b/lib/Catalyst/Action.pm index 0bc165a..9b2ea9f 100644 --- a/lib/Catalyst/Action.pm +++ b/lib/Catalyst/Action.pm @@ -3,7 +3,7 @@ package Catalyst::Action; use strict; use base qw/Class::Accessor::Fast/; -__PACKAGE__->mk_accessors(qw/code namespace reverse prefix attributes name/); +__PACKAGE__->mk_accessors(qw/class namespace reverse attributes name code/); use overload ( @@ -31,6 +31,8 @@ See L. =item attributes +=item class + =item code =item execute @@ -39,7 +41,7 @@ See L. sub execute { # Execute ourselves against a context my ( $self, $c ) = @_; - return $c->execute( $self->namespace, $self ); + return $c->execute( $self->class, $self ); } =item namespace