fixes #835
This commit is contained in:
@@ -3,5 +3,13 @@ module PostSetPresenters
|
|||||||
def posts
|
def posts
|
||||||
@post_set.posts
|
@post_set.posts
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def post_previews_html(template)
|
||||||
|
result = super(template)
|
||||||
|
if result =~ /Nobody here but us chickens/
|
||||||
|
result = ""
|
||||||
|
end
|
||||||
|
result.html_safe
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user