From: John Napiorkowski Date: Wed, 25 Mar 2015 17:08:27 +0000 (-0500) Subject: tweak the docs a bit X-Git-Tag: 5.90085~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=9f3e69eeed571171a639f0af2a627da4baf9fc93 tweak the docs a bit --- diff --git a/Changes b/Changes index b5d1403..6a971df 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ # This file documents the revision history for Perl extension Catalyst. -5.90085 - 2014-03-25 +5.90085 - 2015-03-25 - Small change to Catalyst::Action to prevent autovivication of Args value (dim1++) - Minor typo fixes (Abraxxa++) - Make sure than when using chained actions and when more than one action @@ -8,7 +8,8 @@ "in a tie, the last action defined wins" rule. There is a small chance this is a breaking change for you. See Catalyst::Upgrading for more. You may use the application configuration setting "use_chained_args_0_special_case" - to disable this new behavior, if you must. + to disable this new behavior, if you must for back-compat reasons. + - Added PATCH HTTP Method action attribute shortcut. 5.90084 - 2015-02-23 - Small change to the way body parameters are created in order to prevent diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index f560686..67ecee7 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -550,7 +550,7 @@ sub _parse_PUT_attr { Method => 'PUT' } sub _parse_DELETE_attr { Method => 'DELETE' } sub _parse_OPTIONS_attr { Method => 'OPTIONS' } sub _parse_HEAD_attr { Method => 'HEAD' } -sub _parse_PATCH_attr { Method => 'PATCH' } +sub _parse_PATCH_attr { Method => 'PATCH' } sub _expand_role_shortname { my ($self, @shortnames) = @_;