From: John Napiorkowski Date: Tue, 22 Oct 2013 22:47:28 +0000 (-0500) Subject: docs X-Git-Tag: 5.90050~1^2~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=69a62684e7bf0cbd7967df4018f860b61980d4d4;p=catagits%2FCatalyst-Runtime.git docs --- diff --git a/lib/Catalyst/ActionRole/ConsumesContent.pm b/lib/Catalyst/ActionRole/ConsumesContent.pm index 9638a2d..8e0faf8 100644 --- a/lib/Catalyst/ActionRole/ConsumesContent.pm +++ b/lib/Catalyst/ActionRole/ConsumesContent.pm @@ -102,6 +102,11 @@ allowed content types (see L) and zero otherwise. An array of strings that are the allowed content types for matching this action. +=head2 can_consume + +Boolean. Does the current request match content type with what this actionrole +can consume? + =head1 AUTHORS Catalyst Contributors, see Catalyst.pm