fix PathPart typo
Justin Hunter [Mon, 24 Aug 2009 19:28:19 +0000 (19:28 +0000)]
lib/Catalyst/Manual/Tutorial/06_Authorization.pod

index 1ecff82..3c3d4d9 100644 (file)
@@ -320,7 +320,7 @@ C<lib/MyApp/Controller/Root.pm> 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';