X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F02_CatalystBasics.pod;h=7184a7e3cf90c84a5cd1888280255a9380524082;hb=a0deb1a821d358de5c902f70fcd9a50258057ade;hp=c410066792a9d562c12572352dcfb854bd1a29e8;hpb=cacb3819a45beb62da8e38784e503e976e3ebb69;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod index c410066..7184a7e 100644 --- a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod @@ -290,7 +290,7 @@ L), while C<< $c->welcome_message >> is a special method that returns the welcome message that you saw in your browser. -The ":Path :Args(0)" after the method name are attributes which +The "C<:Path :Args(0)>" after the method name are attributes which determine which URLs will be dispatched to this method. (You might see ":Private" if you are using an older version of Catalyst, but using that with "default" or "index" is currently deprecated. If so, you should @@ -301,7 +301,7 @@ policy, prefers to handle URL dispatching with attributes on controller methods. There is a lot of flexibility in specifying which URLs to match. This particular method will match all URLs, because it doesn't specify the path (nothing comes after "Path"), but will only accept a -URL without any args because of the ":Args(0)". +URL without any args because of the "C<:Args(0)>". The default is to map URLs to controller names, and because of the way that Perl handles namespaces through package names, it is simple to @@ -534,4 +534,4 @@ L. Copyright 2006-2011, Kennedy Clark, under the Creative Commons Attribution Share-Alike License Version 3.0 -(L). +(L).