From: Kennedy Clark Date: Wed, 17 Feb 2010 17:39:40 +0000 (+0000) Subject: Convert tabs to spaces X-Git-Tag: v5.8005~29 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=aa7ff3257b8cc635010cfa8caee47a45efcab1f6 Convert tabs to spaces Fix "=head 2" in comment to "=head2" Minor adjustments --- diff --git a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod index d2e0257..158372e 100644 --- a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod @@ -223,11 +223,11 @@ C is new): -Debug ConfigLoader Static::Simple - + StackTrace - + Authentication - + Session Session::Store::FastMmap Session::State::Cookie @@ -585,6 +585,7 @@ box instead of using NTP. Open C and add the following lines to the bottom (below the closing tag): + ...

Login Create diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 456c5e5..78cb116 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -78,21 +78,21 @@ Catalyst. Edit C and add C to the list: - # Load plugins - use Catalyst qw/ - -Debug - ConfigLoader - Static::Simple - - StackTrace - - Authentication - Authorization::Roles - - Session - Session::Store::FastMmap - Session::State::Cookie - /; + # Load plugins + use Catalyst qw/ + -Debug + ConfigLoader + Static::Simple + + 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 @@ updating C to match the following code: # 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 @@ this method to our Result Class. Open C and add the following method below the "C" line: - =head 2 has_role + =head2 has_role Check if a user has the specified role diff --git a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod index 0ca6d5d..bf35d96 100644 --- a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod @@ -125,7 +125,7 @@ you can obviously indent them if you prefer): 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];