more work on paginators

This commit is contained in:
albert
2011-06-21 14:32:07 -04:00
parent fab37bc0d3
commit 2f1fdcb459
16 changed files with 89 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
module PostSets
class Post
class Post < Base
attr_reader :tags, :page, :posts
def initialize(params)
@@ -31,13 +31,5 @@ module PostSets
def is_single_tag?
tags.size == 1
end
def tag
tag_string
end
def presenter
@presenter ||= PostSetPresenter.new(self)
end
end
end