wiki pages

This commit is contained in:
albert
2012-01-06 18:50:24 -05:00
parent aac315e0b2
commit ef27934125
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
module PostSetPresenters
class WikiPage < Post
def posts
Thread.current["records_per_page"] = 8
Thread.current["records_per_page"] = 4
@post_set.posts
ensure
Thread.current["records_per_page"] = nil