X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FCatalystBasics.pod;fp=lib%2FCatalyst%2FManual%2FTutorial%2FCatalystBasics.pod;h=02a45caa0819ef766b677592ae77e958bc0193c6;hp=2d7eb7b310e6465a57cf60c13a50ab84d82cec83;hb=ae4928627383baa200c4f20f5237e423f5409b12;hpb=25ed8f404ffffd0d566e8f7240d63b8a9c17a4c9 diff --git a/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod index 2d7eb7b..02a45ca 100644 --- a/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod @@ -242,7 +242,7 @@ responsible for displaying the welcome screen that you just saw in your browser. Later on you'll want to change that to something more reasonable, such as a "404" message but for now just leave it alone. - sub default : Path : Args { + sub default :Path :Args { my ( $self, $c ) = @_; $c->response->body( $c->welcome_message ); @@ -260,7 +260,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" after the method name are attributes which determine +The ":Path :Args" after the method name are attributes which determine which URLs will be dispatched to this method. (Depending on your version of Catalyst, it used to say "Private" but using that with default is currently deprecated.)