Permalink
Browse files

oops

  • Loading branch information...
1 parent 29a07ec commit 57ac618e707744ea062368f79603e5708215177b @charliesome committed Dec 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 models/post.rb
View
@@ -32,7 +32,7 @@ def self.clear_cache!
end
def self.recent(n = 5)
- all.to_a.reverse.last(n).map { |k,v| v }
+ all.to_a.last(n).map { |k,v| v }.reverse
end
def self.latest

0 comments on commit 57ac618

Please sign in to comment.