X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F06_Authorization.pod;h=1280a818d70b41f9f2000482e3ecdd9ddf63fe99;hb=f6f24d4e41beafd243327aabd20831b3f2bae53a;hp=bb78efad7646a1c38d575383e9749ff93e75a9bc;hpb=20e49994744167ded52876ee1a7d066e1a0c6c39;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index bb78efa..1280a81 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")}));