Doc fix (moar). thanks bfwg
Tomas Doran [Tue, 5 Jul 2011 09:34:34 +0000 (10:34 +0100)]
lib/Catalyst/Controller/REST.pm

index 89c31cf..c410b31 100644 (file)
@@ -38,7 +38,7 @@ Catalyst::Controller::REST - A RESTful controller
     sub thing_PUT {
         my ( $self, $c ) = @_;
 
-        $radiohead = $req->data->{radiohead};
+        $radiohead = $c->req->data->{radiohead};
         
         $self->status_created(
             $c,