fixes #2650: Add random mode to mod queue

This commit is contained in:
r888888888
2016-09-08 15:52:48 -07:00
parent d1674e4cbb
commit de34c7fca3
9 changed files with 115 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ module Moderator
before_filter :post_approvers_only
def create
cookies[:moderated] = Time.now.to_i
@post = ::Post.find(params[:post_id])
@post_disapproval = PostDisapproval.create(:post => @post, :user => CurrentUser.user, :reason => params[:reason] || "disinterest", :message => params[:message])
end