FIX: stupid mistake that broke flagging of posts

This commit is contained in:
Neil Lalonde 2014-02-13 15:10:02 -05:00
parent 85eba22d65
commit 067b08c422
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class PostActionsController < ApplicationController
args = {}
args[:message] = params[:message] if params[:message].present?
args[:take_action] = true if guardian.is_staff? and params[:take_action] == 'true'
args[:flag_topic] = true if params[:flag_topic]
args[:flag_topic] = true if params[:flag_topic] == 'true'
post_action = PostAction.act(current_user, @post, @post_action_type_id, args)