X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCookbook.pod;h=2c1b1394f3b912aea139d5e1953aa54148325154;hb=016373e66232c6862ae37037e06735bd39f3894f;hp=7d7c103e9d4cb5071f2f1f3bc960d76608cb0755;hpb=9bee7d3734adfe39c748712670ced0f2b5c90f84;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index 7d7c103..2c1b139 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -266,9 +266,9 @@ with: sub add : Local { my ($self, $c) = @_; if ($c->roles(qw/admin/)) { - $c->req->output("Your account has the role 'admin.'"); + $c->res->output("Your account has the role 'admin.'"); } else { - $c->req->output("You're not allowed to be here."); + $c->res->output("You're not allowed to be here."); } }