[Catalyst-commits] r13320 -
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial
hkclark at dev.catalyst.perl.org
hkclark at dev.catalyst.perl.org
Sat May 29 22:21:30 GMT 2010
Author: hkclark
Date: 2010-05-29 23:21:29 +0100 (Sat, 29 May 2010)
New Revision: 13320
Modified:
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/06_Authorization.pod
Log:
Add missing requirement for Perl6::Junction
Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/06_Authorization.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/06_Authorization.pod 2010-05-29 21:42:47 UTC (rev 13319)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/06_Authorization.pod 2010-05-29 22:21:29 UTC (rev 13320)
@@ -269,6 +269,11 @@
return any(map { $_->role } $self->roles) eq $role;
}
+Let's also add Perl6::Junction to the requirements listed in
+Makefile.PL:
+
+ requires 'Perl6::Junction';
+
Now we need to add some enforcement inside our controller. Open
C<lib/MyApp/Controller/Books.pm> and update the C<delete> method to
match the following code:
More information about the Catalyst-commits
mailing list