X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F06_Authorization.pod;h=cb0d599b783bc1d0dad0a86c15b9eadea0241b1c;hp=bb78efad7646a1c38d575383e9749ff93e75a9bc;hb=477a6d5b13f55eb335979812080e4a11217f19d6;hpb=20e49994744167ded52876ee1a7d066e1a0c6c39 diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index bb78efa..cb0d599 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -64,8 +64,9 @@ actions. The first half looks at basic authorization concepts. The second half looks at how moving your authorization code to your model can simplify your code and make things easier to maintain. -You can checkout the source code for this example from the catalyst -subversion repository as per the instructions in +Source code for the tutorial in included in the F +directory of the Tutorial Virtual machine (one subdirectory per +chapter). There are also instructions for downloading the code in L. @@ -78,7 +79,6 @@ Catalyst. =head2 Update Plugins to Include Support for Authorization Edit C and add C to the list: -***TODO: remove stacktrace? # Load plugins use Catalyst qw/ @@ -307,9 +307,6 @@ match the following code: # with related 'book_authors' entries $c->stash->{object}->delete; - # Use 'flash' to save information across requests until it's read - $c->flash->{status_msg} = "Book deleted"; - # Redirect the user back to the list page $c->response->redirect($c->uri_for($self->action_for('list'), {mid => $c->set_status_msg("Deleted book $id")})); @@ -353,17 +350,18 @@ Use one of the 'Logout' links (or go to the L URL directly) when you are done. +You can jump to the next chapter of the tutorial here: +L + + =head1 AUTHOR Kennedy Clark, C Feel free to contact the author for any errors or suggestions, but the best way to report issues is via the CPAN RT Bug system at -. - -The most recent version of the Catalyst Tutorial can be found at -L. +L. -Copyright 2006-2010, Kennedy Clark, under the +Copyright 2006-2011, Kennedy Clark, under the Creative Commons Attribution Share-Alike License Version 3.0 (L).