Doh, I meant that - works better
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Serialize / JSON / XS.pm
index 6413db9..bac66de 100644 (file)
@@ -8,7 +8,7 @@ use JSON::XS qw(encode_json);
 
 sub encode {
     my $self = shift;
-    encode_json( @_ );
+    encode_json( shift );
 }
 
 1;