X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FController.pm;h=5fcb574d0fcd617d70ab0054abd0e7cd51b289b2;hp=0b197b0195d35c9b292feca7bf13d6783d8d3d05;hb=051a69b9ac0e94a03b8e95ee3fdf8e989b635725;hpb=5b41c28c51565fdb5325f597edf9371649e3f5db 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