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=1fc346e81b2f66c874a79b78fe85be9d525d9127;hb=2ad51a61c60529a1d41fee9ca852dcb3a43aaf66;hpb=601573b6bed0e44145fda2053a212ea997c212e5 diff --git a/lib/Catalyst/Manual/CatalystAndMoose.pod b/lib/Catalyst/Manual/CatalystAndMoose.pod index 1fc346e..cf2acd9 100644 --- a/lib/Catalyst/Manual/CatalystAndMoose.pod +++ b/lib/Catalyst/Manual/CatalystAndMoose.pod @@ -137,11 +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 MooseX::MethodAttributes (); - use Moose::Role -traits => 'MethodAttributes'; + use MooseX::MethodAttribute::Role; use namespace::autoclean; sub foo : Local {