X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=4011e1d4dc8283c3a0baba02b690c002b69c86c2;hb=3d8a0645a8c77bb59d727b4357b9142c7f66016a;hp=ae24551c1863e2793c870e41b10d3f8e1f057cd5;hpb=36f2f3964eab3ea1ef83c3a54258afa8492d8ab5;p=catagits%2FCatalyst-Action-REST.git diff --git a/README b/README index ae24551..4011e1d 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Catalyst::Controller::REST - A RESTful controller VERSION - 0.67_01 + 0.75 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 ... }