[Catalyst-commits] r10109 - Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial

kiffin at dev.catalyst.perl.org kiffin at dev.catalyst.perl.org
Wed May 13 12:37:12 GMT 2009


Author: kiffin
Date: 2009-05-13 12:37:12 +0000 (Wed, 13 May 2009)
New Revision: 10109

Modified:
   Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/Authorization.pod
   Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod
   Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
Log:
Completed chaper 6 Authorization with all necessary modifications to get depluralization working.


Modified: Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/Authorization.pod
===================================================================
--- Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/Authorization.pod	2009-05-13 12:02:43 UTC (rev 10108)
+++ Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/Authorization.pod	2009-05-13 12:37:12 UTC (rev 10109)
@@ -244,7 +244,7 @@
 
 For example, let's add a method to our C<Books.pm> Result Class to 
 check if a user is allowed to delete a book.  Open 
-C<lib/MyApp/Schema/Result/Books.pm> and add the following method 
+C<lib/MyApp/Schema/Result/Book.pm> and add the following method 
 (be sure to add it below the "C<DO NOT MODIFY ...>" line):
 
     =head2 delete_allowed_by
@@ -262,7 +262,7 @@
 
 Here we call a C<has_role> method on our user object, so we should add 
 this method to our Result Class.  Open 
-C<lib/MyApp/Schema/Result/Users.pm> and add the following method below 
+C<lib/MyApp/Schema/Result/User.pm> and add the following method below 
 the "C<DO NOT MODIFY ...>" line:
 
     =head 2 has_role

Modified: Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod
===================================================================
--- Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod	2009-05-13 12:02:43 UTC (rev 10108)
+++ Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod	2009-05-13 12:37:12 UTC (rev 10109)
@@ -219,7 +219,7 @@
     | /                                   | /index                               |
     '-------------------------------------+--------------------------------------'
     
-    [info] Hello powered by Catalyst 5.71000
+    [info] Hello powered by Catalyst 5.80003
     You can connect to your server at http://debian:3000
 
 Point your web browser to L<http://localhost:3000> (substituting a 

Modified: Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
===================================================================
--- Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod	2009-05-13 12:02:43 UTC (rev 10108)
+++ Catalyst-Manual/5.70/branches/depluralise/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod	2009-05-13 12:37:12 UTC (rev 10109)
@@ -981,6 +981,7 @@
     | /books/list                         | /books/list                          |
     '-------------------------------------+--------------------------------------'
     
+    [info] MyApp powered by Catalyst 5.80003
     You can connect to your server at http://debian:3000
 
 B<NOTE:> Be sure you run the C<script/myapp_server.pl> command from




More information about the Catalyst-commits mailing list