Show the new way of doing things
Tomas Doran [Thu, 1 Oct 2009 19:25:56 +0000 (19:25 +0000)]
lib/Catalyst/Manual/CatalystAndMoose.pod

index 1fc346e..cf2acd9 100644 (file)
@@ -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<MooseX::MethodAttributes> version 0.12, example:
+L<MooseX::MethodAttributes>, example:
 
     package MyApp::ControllerRole;
-    use MooseX::MethodAttributes ();
-    use Moose::Role -traits => 'MethodAttributes';
+    use MooseX::MethodAttribute::Role;
     use namespace::autoclean;
 
     sub foo : Local {