X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCatalystAndMoose.pod;h=cf2acd93bf6a32bbf0ca3b9010c14b8cb5ee44a8;hp=6f6f9b4eab426066ed55ef22eaa6bf2285044b2b;hb=af20a15d7f4089fabd2e4e9bb161f2d2de50f333;hpb=46a5f2f5cf41f746d2a20ce0b64b6112f5283ac3 diff --git a/lib/Catalyst/Manual/CatalystAndMoose.pod b/lib/Catalyst/Manual/CatalystAndMoose.pod index 6f6f9b4..cf2acd9 100644 --- a/lib/Catalyst/Manual/CatalystAndMoose.pod +++ b/lib/Catalyst/Manual/CatalystAndMoose.pod @@ -137,10 +137,10 @@ themselves. For example }; It is possible to have action methods with attributes inside Moose roles, using -the trait introduced in L version 0.12, example: +L, example: package MyApp::ControllerRole; - use Moose::Role -traits => 'MethodAttributes'; + use MooseX::MethodAttribute::Role; use namespace::autoclean; sub foo : Local {