[Catalyst-commits] r12927 - Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial

hkclark at dev.catalyst.perl.org hkclark at dev.catalyst.perl.org
Wed Feb 17 17:39:41 GMT 2010


Author: hkclark
Date: 2010-02-17 17:39:40 +0000 (Wed, 17 Feb 2010)
New Revision: 12927

Modified:
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/06_Authorization.pod
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/07_Debugging.pod
Log:
Convert tabs to spaces
Fix "=head 2" in comment to "=head2"
Minor adjustments

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod	2010-02-17 17:37:33 UTC (rev 12926)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/05_Authentication.pod	2010-02-17 17:39:40 UTC (rev 12927)
@@ -223,11 +223,11 @@
         -Debug
         ConfigLoader
         Static::Simple
-
+    
         StackTrace
-
+    
         Authentication
-
+    
         Session
         Session::Store::FastMmap
         Session::State::Cookie
@@ -585,6 +585,7 @@
 Open C<root/src/books/list.tt2> and add the following lines to the
 bottom (below the closing </table> tag):
 
+    ...
     <p>
       <a href="[% c.uri_for('/login') %]">Login</a>
       <a href="[% c.uri_for(c.controller.action_for('form_create')) %]">Create</a>

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-02-17 17:37:33 UTC (rev 12926)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/06_Authorization.pod	2010-02-17 17:39:40 UTC (rev 12927)
@@ -78,22 +78,22 @@
 
 Edit C<lib/MyApp.pm> and add C<Authorization::Roles> to the list:
 
-	# Load plugins
-	use Catalyst qw/
-		-Debug
-		ConfigLoader
-		Static::Simple
+    # Load plugins
+    use Catalyst qw/
+        -Debug
+        ConfigLoader
+        Static::Simple
+        
+        StackTrace
+        
+        Authentication
+        Authorization::Roles
+        
+        Session
+        Session::Store::FastMmap
+        Session::State::Cookie
+    /;
 
-		StackTrace
-
-		Authentication
-		Authorization::Roles
-
-		Session
-		Session::Store::FastMmap
-		Session::State::Cookie
-	/;
-
 Once again, include this additional plugin as a new dependency in 
 the Makefile.PL file like this:
 
@@ -174,7 +174,7 @@
     
             # Assign the Book object to the stash and set template
             $c->stash(book     => $book,
-					  template => 'books/create_done.tt2');
+                      template => 'books/create_done.tt2');
         } else {
             # Provide very simple feedback to the user.
             $c->response->body('Unauthorized!');
@@ -255,7 +255,7 @@
 C<lib/MyApp/Schema/Result/User.pm> and add the following method below 
 the "C<DO NOT MODIFY ...>" line:
 
-    =head 2 has_role
+    =head2 has_role
     
     Check if a user has the specified role
     

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/07_Debugging.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/07_Debugging.pod	2010-02-17 17:37:33 UTC (rev 12926)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/07_Debugging.pod	2010-02-17 17:39:40 UTC (rev 12927)
@@ -125,7 +125,7 @@
         my ($self, $c) = @_;
     
     $DB::single=1;
-            
+    
         # Retrieve all of the book records as book model objects and store in the
         # stash where they can be accessed by the TT template
         $c->stash->{books} = [$c->model('DB::Book')->all];




More information about the Catalyst-commits mailing list