Merge branch 'master' of github.com:r888888888/danbooru
This commit is contained in:
@@ -69,10 +69,6 @@ module PostSets
|
||||
tag_string =~ /\*/
|
||||
end
|
||||
|
||||
def is_empty_search?
|
||||
posts.count == 0
|
||||
end
|
||||
|
||||
def current_page
|
||||
[page.to_i, 1].max
|
||||
end
|
||||
|
||||
@@ -2,7 +2,7 @@ module PostSets
|
||||
class SearchError < Exception
|
||||
end
|
||||
|
||||
class WikiPage < Post
|
||||
class WikiPage < PostSets::Post
|
||||
def presenter
|
||||
@presenter ||= ::PostSetPresenters::WikiPage.new(self)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user