Skip to content

Commit

Permalink
undef does not look as good
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 26, 2018
1 parent 3156c3c commit db0022e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/blog/lib/Blog/Model/Posts.pm
Expand Up @@ -12,7 +12,7 @@ sub all { shift->pg->db->select('posts')->hashes->to_array }

sub find {
my ($self, $id) = @_;
return $self->pg->db->select('posts', undef, {id => $id})->hash;
return $self->pg->db->select('posts', '*', {id => $id})->hash;
}

sub remove {
Expand Down

0 comments on commit db0022e

Please sign in to comment.