From: Caleb Cushing Date: Wed, 20 Jan 2010 01:47:09 +0000 (+0000) Subject: make attribute list syntax consistant X-Git-Tag: v5.8005~64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=3d0b2e0b0e6d80f6d419d22a6b504935af6dc84f;hp=7cfce6e130e77a14fe70be9f61637a68e75ba8b4 make attribute list syntax consistant --- diff --git a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod index 06e4986..18ed645 100644 --- a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod @@ -303,7 +303,7 @@ C method. Add the following subroutine to your C file: - sub hello : Global { + sub hello :Global { my ( $self, $c ) = @_; $c->response->body("Hello, World!"); @@ -384,7 +384,7 @@ template file (C). The rest of the template is normal HTML. Change the hello method in C to the following: - sub hello : Global { + sub hello :Global { my ( $self, $c ) = @_; $c->stash->{template} = 'hello.tt'; @@ -417,7 +417,7 @@ not much there. In C, add the following method: - sub test : Local { + sub test :Local { my ( $self, $c ) = @_; $c->stash->{username} = "John";