parent
27aca11715
commit
e8e7708d6e
@ -0,0 +1,2 @@
|
||||
alert('启动成功')
|
||||
$("#<%= @bid.id %>_start_anonymous_comment").html('<%= link_to "关闭匿评", stop_anonymous_comment_bid_path(@bid), remote: true %>')
|
@ -0,0 +1,2 @@
|
||||
alert('关闭成功')
|
||||
$("#<%= @bid.id %>_anonymous_comment").html('已关闭匿评')
|
@ -0,0 +1,5 @@
|
||||
class AddCommentStatusToBid < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :bids, :comment_status, :integer, default: 0
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue