X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=fcab6bd1d9c518fc9fb90960cbe847f8cafee01d;hb=07b2ce2791d17c5779b1181bb77fc41d446e85e8;hp=be362e22de8f090c5347890c2ce0cb0f18c40803;hpb=b946af8e78020ec69ef0c7d6223e7f33b8006a54;p=catagits%2FCatalyst-Action-REST.git diff --git a/README b/README index be362e2..fcab6bd 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Catalyst::Controller::REST - A RESTful controller VERSION - 0.67 + 0.73 SYNOPSIS package Foo::Controller::Bar; @@ -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 ... }