From: Tomas Doran Date: Thu, 1 Oct 2009 19:25:56 +0000 (+0000) Subject: Show the new way of doing things X-Git-Tag: v5.8005~102 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=2ad51a61c60529a1d41fee9ca852dcb3a43aaf66 Show the new way of doing things --- 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 {