X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FAuthentication.pod;h=652d2107cdca39634a2e8896cae0529e91e87ff4;hb=14e5ed66dcd737f2210d8d7d8c22e3c474992846;hp=1c3b9b84d65fd04ec6c2153635baf1e1bf5a0bb8;hpb=ae4928627383baa200c4f20f5237e423f5409b12;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/Authentication.pod b/lib/Catalyst/Manual/Tutorial/Authentication.pod index 1c3b9b8..652d210 100644 --- a/lib/Catalyst/Manual/Tutorial/Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/Authentication.pod @@ -405,11 +405,11 @@ will stay at the login page but receive an error message. If the C and C values are not present in the form, the user will be taken to the empty login form. -Note that we could have used something like C (or -even C; however, the use of C actions -is discouraged because it does not receive path args as with other -actions. The recommended practice is to only use C in -C. +Note that we could have used something like C, +however partly for historical reasons, and partly for code clarity it +is generally recommended only to use C in +C, and then mainly to generate the 404 not +found page for the application. Instead, we are using C here to specifically match the URL C. C actions (aka, "literal @@ -442,7 +442,7 @@ C to match: } As with the login controller, be sure to delete the -C<$c->response->body('Matched MyApp::Controller::Logout in Logout.');> +C<$c-Eresponse-Ebody('Matched MyApp::Controller::Logout in Logout.');> line of the C. @@ -884,5 +884,5 @@ Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at L. -Copyright 2006, Kennedy Clark, under Creative Commons License +Copyright 2006-2008, Kennedy Clark, under Creative Commons License (L).