Skip to content

Commit

Permalink
Doh, I meant that - works better
Browse files Browse the repository at this point in the history
  • Loading branch information
bobtfish committed Aug 17, 2009
1 parent a66af30 commit e9073a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Catalyst/Action/Serialize/JSON.pm
Expand Up @@ -35,7 +35,7 @@ sub execute {

sub encode {
my $self = shift;
encode_json( @_ );
encode_json( shift );
}

1;
2 changes: 1 addition & 1 deletion lib/Catalyst/Action/Serialize/JSON/XS.pm
Expand Up @@ -8,7 +8,7 @@ use JSON::XS qw(encode_json);

sub encode {
my $self = shift;
encode_json( @_ );
encode_json( shift );
}

1;

0 comments on commit e9073a6

Please sign in to comment.