Doh, I meant that - works better
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Serialize / JSON.pm
index a681bcf..3b8e511 100644 (file)
@@ -35,7 +35,7 @@ sub execute {
 
 sub encode {
     my $self = shift;
-    encode_json( @_ );
+    encode_json( shift );
 }
 
 1;