From: Andy Grundman Date: Wed, 7 Sep 2005 15:33:01 +0000 (+0000) Subject: req -> res, ticket #22 X-Git-Tag: 5.7099_04~1244 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=016373e66232c6862ae37037e06735bd39f3894f;p=catagits%2FCatalyst-Runtime.git req -> res, ticket #22 --- 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."); } }