Skip to content
Browse files

Add missing requirement for Perl6::Junction

  • Loading branch information...
1 parent 4768184 commit 3a44dd3c6dcf02fc7b24ffc65ccebd74b0d3c9ee @hkclark hkclark committed May 29, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Catalyst/Manual/Tutorial/06_Authorization.pod
View
5 lib/Catalyst/Manual/Tutorial/06_Authorization.pod
@@ -269,6 +269,11 @@ the "C<DO NOT MODIFY ...>" line:
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:

0 comments on commit 3a44dd3

Please sign in to comment.
Something went wrong with that request. Please try again.