Doc fix (moar). thanks bfwg
[catagits/Catalyst-Action-Serialize-Data-Serializer.git] / 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,