X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FREST.pm;h=f802d36101f085935ebcff588f672497ea2d8300;hb=ef7fdb4877523cf584fe0b8627369d810508dbf8;hp=50e57ff746d12db2bf49034f6ba1d4d6c30e7bb5;hpb=e540a1fa72e4a5425c59a9397a3353f4784d726a;p=catagits%2FCatalyst-Action-REST.git diff --git a/lib/Catalyst/Controller/REST.pm b/lib/Catalyst/Controller/REST.pm index 50e57ff..f802d36 100644 --- a/lib/Catalyst/Controller/REST.pm +++ b/lib/Catalyst/Controller/REST.pm @@ -1,6 +1,6 @@ package Catalyst::Controller::REST; -our $VERSION = '0.67'; +our $VERSION = '0.72'; =head1 NAME @@ -107,7 +107,7 @@ installed. In addition, each serializer has it's quirks in terms of what sorts of data structures it will properly handle. L makes -no attempt to svae you from yourself in this regard. :) +no attempt to save you from yourself in this regard. :) =over 2 @@ -217,7 +217,6 @@ use Params::Validate qw(SCALAR OBJECT); __PACKAGE__->mk_accessors(qw(serialize)); __PACKAGE__->config( - 'default_view' => 'REST', 'stash_key' => 'rest', 'map' => { 'text/html' => 'YAML::HTML', @@ -237,6 +236,8 @@ __PACKAGE__->config( sub begin : ActionClass('Deserialize') { } +sub end : ActionClass('Serialize') { } + =item status_ok Returns a "200 OK" response. Takes an "entity" to serialize.