Fix docs citing incorrect method, "serialize_bad_request"
Steve Kleiman [Sun, 10 May 2015 18:42:10 +0000 (11:42 -0700)]
Fix docs to correct error-handling method name: 'serialize_bad_request'
(remove leading underscore)

Changes
lib/Catalyst/Action/Deserialize.pm
lib/Catalyst/Action/Serialize.pm

diff --git a/Changes b/Changes
index bed7442..c88d7d4 100644 (file)
--- 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
index ef50d4a..e6a0887 100644 (file)
@@ -121,7 +121,7 @@ L<Catalyst::Request::REST>.
 
 For building custom error responses when de-serialization fails, you can create
 an ActionRole (and use L<Catalyst::Controller::ActionRole> to apply it to the
-C<begin> action) which overrides C<unsupported_media_type> and/or C<_serialize_bad_request>
+C<begin> action) which overrides C<unsupported_media_type> and/or C<serialize_bad_request>
 methods.
 
 =head1 SEE ALSO
index fd36878..057cc39 100644 (file)
@@ -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<Catalyst::Controller::ActionRole> to apply it to the
-C<end> action) which overrides C<unsupported_media_type> and/or C<_serialize_bad_request>
+C<end> action) which overrides C<unsupported_media_type> and/or C<serialize_bad_request>
 methods.
 
 =head1 SEE ALSO