RT #57989: typo
Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 [Tue, 15 Feb 2011 14:47:52 +0000 (15:47 +0100)]
https://rt.cpan.org/Ticket/Display.html?id=57989

lib/Catalyst/Manual/Tutorial/05_Authentication.pod

index 3831d6a..d8d13ca 100644 (file)
@@ -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