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=bca8cea9b84a701a02bee5af29b3eacd15885b4d;hp=61248a4e6f981206c3a7023f8764b6a61fa000a3;hb=a467a71409ca619746c5174d46a0366c957e2ac7;hpb=2a6eb5f9e3b1b3a8dacd724bb8ab87ba18f733a5 diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 61248a4..bca8cea 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -94,14 +94,8 @@ Edit C and add C to the list: Session::State::Cookie /; -B As discussed in MoreCatalystBasics, different versions of -C have used a variety of methods to load the plugins. -You can put the plugins in the C statement if you -prefer. - -Once again (remain sharp, by now you should be getting the hang of things) -include this additional plugin as a new dependency in the Makefile.PL file -like this: +Once again, include this additional plugin as a new dependency in +the Makefile.PL file like this: requires ( ... @@ -138,7 +132,7 @@ lines to the bottom of the file:

This code displays a different combination of links depending on the -roles assigned to the user. +roles assigned to the user. =head2 Limit Books::add to 'admin' Users @@ -320,7 +314,7 @@ C and add this method: =cut - sub error_noperms :Chained('/') :PathPath('error_noperms') :Args(0) { + sub error_noperms :Chained('/') :PathPart('error_noperms') :Args(0) { my ($self, $c) = @_; $c->stash->{template} = 'error_noperms.tt2'; @@ -357,7 +351,7 @@ Kennedy Clark, C Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at -L. +L. Copyright 2006-2008, Kennedy Clark, under Creative Commons License (L).