Permalink
Browse files

ensure non-nil (closes #30)

thanks @keroger2k
  • Loading branch information...
holman committed Nov 11, 2011
1 parent 51fc0c7 commit be3df8eed5dc763943831b7a25ff6070d00d3844
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/play/views/show_song.rb
@@ -12,7 +12,7 @@ def users
end
def plays
@song.votes.count
@song.votes.count || 0
end
end
end

0 comments on commit be3df8e

Please sign in to comment.