This commit is contained in:
r888888888
2015-07-21 15:23:48 -07:00
parent 64673c10bb
commit a39e390e24
6 changed files with 47 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ module Moderator
def create
@post = ::Post.find(params[:post_id])
@post_disapproval = PostDisapproval.create(:post => @post, :user => CurrentUser.user)
@post_disapproval = PostDisapproval.create(:post => @post, :user => CurrentUser.user, :reason => params[:reason] || "disinterest")
end
end
end