diff --git a/app/logical/post_sets/post.rb b/app/logical/post_sets/post.rb index 78e401668..b4a350c3c 100644 --- a/app/logical/post_sets/post.rb +++ b/app/logical/post_sets/post.rb @@ -187,7 +187,7 @@ module PostSets def best_post # be smarter about this in the future - posts[0] + posts.max {|a, b| a.fav_count <=> b.fav_count} end end end