diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/blog_post.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/blog_post.rb b/app/models/blog_post.rb index c9929ce..c1918b6 100644 --- a/app/models/blog_post.rb +++ b/app/models/blog_post.rb @@ -30,11 +30,11 @@ class BlogPost < ActiveRecord::Base # next is now in << self def next - self.class.next(self).first + BlogPost.next(self).first end def prev - self.class.previous(self).first + BlogPost.previous(self).first end def live? |