From: Steve Kleiman Date: Sun, 10 May 2015 18:42:10 +0000 (-0700) Subject: Fix docs citing incorrect method, "serialize_bad_request" X-Git-Tag: v1.20~3^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=b74200b31daa4a059b0f1555f2d9e079f35d08ff Fix docs citing incorrect method, "serialize_bad_request" Fix docs to correct error-handling method name: 'serialize_bad_request' (remove leading underscore) --- diff --git a/Changes b/Changes index bed7442..c88d7d4 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,8 @@ Revision history for {{$dist->name}} {{$NEXT}} + - Fix docs citing incorrect method name: 'serialize_bad_request' (remove leading underscore) + 1.19 2015-02-06 09:40:02-06:00 America/Chicago - Make LWP a test dep instead of a hard dep (Fixes GH#3, thanks Alexander diff --git a/lib/Catalyst/Action/Deserialize.pm b/lib/Catalyst/Action/Deserialize.pm index ef50d4a..e6a0887 100644 --- a/lib/Catalyst/Action/Deserialize.pm +++ b/lib/Catalyst/Action/Deserialize.pm @@ -121,7 +121,7 @@ L. For building custom error responses when de-serialization fails, you can create an ActionRole (and use L to apply it to the -C action) which overrides C and/or C<_serialize_bad_request> +C action) which overrides C and/or C methods. =head1 SEE ALSO diff --git a/lib/Catalyst/Action/Serialize.pm b/lib/Catalyst/Action/Serialize.pm index fd36878..057cc39 100644 --- a/lib/Catalyst/Action/Serialize.pm +++ b/lib/Catalyst/Action/Serialize.pm @@ -152,7 +152,7 @@ with the rest of Catalyst. For building custom error responses when serialization fails, you can create an ActionRole (and use L to apply it to the -C action) which overrides C and/or C<_serialize_bad_request> +C action) which overrides C and/or C methods. =head1 SEE ALSO