posts/show: load flag/appeal/replacement dialogs via ajax (#3922).

This commit is contained in:
evazion
2018-09-26 17:17:46 -05:00
parent d1e9f9c3ce
commit f886f2fdb3
18 changed files with 74 additions and 148 deletions

View File

@@ -3,7 +3,7 @@ class PostFlagsController < ApplicationController
respond_to :html, :xml, :json, :js
def new
@post_flag = PostFlag.new
@post_flag = PostFlag.new(post_flag_params)
respond_with(@post_flag)
end