enable blacklists in comments, wiki pages

This commit is contained in:
albert
2013-02-18 19:11:30 -05:00
parent 85f3a79e9d
commit 8a66470975
8 changed files with 63 additions and 45 deletions

View File

@@ -63,7 +63,7 @@ private
end
def index_by_post
@posts = Post.commented_before(Time.now).tag_match(params[:tags]).paginate(params[:page])
@posts = Post.commented_before(Time.now).tag_match(params[:tags]).paginate(params[:page], :limit => 5)
respond_with(@posts) do |format|
format.html {render :action => "index_by_post"}
end