[Catalyst-commits] r13861 -
trunk/examples/CatalystAdvent/root/2010/pen
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Dec 16 21:38:13 GMT 2010
Author: t0m
Date: 2010-12-16 21:38:13 +0000 (Thu, 16 Dec 2010)
New Revision: 13861
Modified:
trunk/examples/CatalystAdvent/root/2010/pen/multiaction.pod
Log:
Tidy up
Modified: trunk/examples/CatalystAdvent/root/2010/pen/multiaction.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2010/pen/multiaction.pod 2010-12-16 21:37:26 UTC (rev 13860)
+++ trunk/examples/CatalystAdvent/root/2010/pen/multiaction.pod 2010-12-16 21:38:13 UTC (rev 13861)
@@ -67,7 +67,7 @@
=over
-=item * L<MooseX::MethodAttributes::Role|http://search.cpan.org/~flora/MooseX-MethodAttributes-0.24/lib/MooseX/MethodAttributes/Role.pm>
+=item * L<MooseX::MethodAttributes::Role>
=back
@@ -152,9 +152,6 @@
return undef;
}
-
-
-
=item * get_args: Private
This method searches the request parameters for possible Arguments to the
@@ -404,7 +401,7 @@
At this point, we created a generic multi-action-wrapper in our Books-controller.
The next part of this article shows how to increase reusability by moving
-the code from the controller to a Moose::Role.
+the code from the controller to an L<Moose::Role>.
=head3 Creating the role
@@ -421,7 +418,7 @@
1;
-MooseX::MethodAttributes::Role is a extension to Moose::Role, which adds the
+L<MooseX::MethodAttributes::Role> is a extension to L<Moose::Role>, which adds the
ability to define method attributes (like :Private, :Chained ...) in Roles.
=item * Move the code
@@ -486,7 +483,9 @@
);
just before
- __PACKAGE__->meta->make_immutable;
+
+ __PACKAGE__->meta->make_immutable;
+
at the end of the file.
=back
@@ -533,7 +532,7 @@
"before", "after" and "around" functionality.
In the above example, the status message is only changed for "delete" actions.
All other multiactions will produce the old, generic messages.
-See L<Moose::Manual::MethodModifiers|http://search.cpan.org/~drolsky/Moose-1.21/lib/Moose/Manual/MethodModifiers.pod> for details.
+See L<Moose::Manual::MethodModifiers> for details.
=head2 Reusing the multiaction
@@ -546,7 +545,8 @@
=item * adding more multiactions
-If you want to use the multiaction-feature with another action, implement you action in your controller, and add a corresponding submit-button to your list
+If you want to use the multiaction-feature with another action, implement you action
+in your controller, and add a corresponding submit-button to your list
template.
=back
@@ -583,8 +583,6 @@
The lack of some missing method modifiers in Roles can be bypassed with
standart Moose functionality, and without black magic.
-
-
=head1 Author
Lukas Thiemeier <lukas at thiemeier.net>
More information about the Catalyst-commits
mailing list