X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=README;fp=README;h=a170970aa005e672f86d2d1b3d99cae78744897e;hp=692c135c2c9c7484c757f51b718b9217106cca99;hb=def65dcc8983843dd6da4a40e03ee6fbded2b69a;hpb=38c3a9b2841e1f056bf201c987dc0b9c16fafbb5 diff --git a/README b/README index 692c135..a170970 100644 --- a/README +++ b/README @@ -284,22 +284,22 @@ IMPLEMENTATION DETAILS The "begin" method uses Catalyst::Action::Deserialize. The "end" method uses Catalyst::Action::Serialize. If you want to override either behavior, simply implement your own "begin" and "end" actions - and use NEXT: + and use MRO::Compat: my Foo::Controller::Monkey; use base qw(Catalyst::Controller::REST); sub begin :Private { my ($self, $c) = @_; - ... do things before Deserializing ... - $self->NEXT::begin($c); + ... do things before Deserializing ... + $self->maybe::next::method($c); ... do things after Deserializing ... } sub end :Private { my ($self, $c) = @_; - ... do things before Serializing ... - $self->NEXT::end($c); + ... do things before Serializing ... + $self->maybe::next::method($c); ... do things after Serializing ... }