X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F06_Authorization.pod;h=d26a228dacd382302a668aab5d19bb7a452845a9;hb=f34d7f6289f4ed36661ed89ea22357063f78fd6c;hp=1ecff82c5ab231d8b8b2a984f0c15a73c4d57528;hpb=5988477160c698d0e5efd1cf1911845d40a327cf;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 1ecff82..d26a228 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -94,11 +94,6 @@ 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: @@ -138,7 +133,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 +315,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';