req -> res, ticket #22
Andy Grundman [Wed, 7 Sep 2005 15:33:01 +0000 (15:33 +0000)]
lib/Catalyst/Manual/Cookbook.pod

index 7d7c103..2c1b139 100644 (file)
@@ -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.");
         }
     }