From: André Walker Date: Tue, 12 Feb 2013 23:39:59 +0000 (-0200) Subject: Improve the docs for MyAction attributes X-Git-Tag: 5.90020~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=051a69b9ac0e94a03b8e95ee3fdf8e989b635725;p=catagits%2FCatalyst-Runtime.git Improve the docs for MyAction attributes --- diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 0b197b0..5fcb574 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -784,8 +784,12 @@ preferred to use L. =head2 MyAction -Set the ActionClass using a custom Action in your project namespace (such as -C => MyAction('MyAction'). +Set the ActionClass using a custom Action in your project namespace. + +The following is exactly the same: + + sub foo_action1 : Local ActionClass('+MyApp::Action::Bar') { ... } + sub foo_action2 : Local MyAction('Bar') { ... } =head2 Does