more work on paginators
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user