X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FActionRole%2FConsumesContent.pm;fp=lib%2FCatalyst%2FActionRole%2FConsumesContent.pm;h=8e0faf847d865583bddd1e98081759196e0fad78;hp=9638a2d7a2d0dd544998d376d9a1e39ae783a4a6;hb=69a62684e7bf0cbd7967df4018f860b61980d4d4;hpb=3e0665e44f88f4bdcf58ffc4b8a5a51c294773be 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