fixes to limit
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
module PostSetPresenters
|
||||
class WikiPage < Post
|
||||
def posts
|
||||
Thread.current["records_per_page"] = 4
|
||||
@post_set.posts
|
||||
ensure
|
||||
Thread.current["records_per_page"] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user