Permalink
Browse files

RT #57989: typo

  • Loading branch information...
daxim committed Feb 15, 2011
1 parent 93dcb96 commit 046fbe4f0db03d02824ea0ae5cc6017b3a030a39
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Catalyst/Manual/Tutorial/05_Authentication.pod
@@ -166,7 +166,7 @@ C<1;>:
# 2) Name of has_many() relationship this many_to_many() is shortcut for
# 3) Name of belongs_to() relationship in model class of has_many() above
# You must already have the has_many() defined to use a many_to_many().
- __PACKAGE__->many_to_many(roles => 'user_roles', 'role');
+ __PACKAGE__->many_to_many(roles => 'user_roles', 'role_id');
The code for this update is obviously very similar to the edits we made
to the C<Book> and C<Author> classes created in Chapter 3 with one

0 comments on commit 046fbe4

Please sign in to comment.