chromesetting
daiao 5 years ago
parent 82d8c2f4b1
commit 38ff27c4aa

@ -56,7 +56,7 @@ class Hack < ApplicationRecord
private
def send_delete_tiding
base_attrs = {
user_id: user_id, viewed: 0, tiding_type: 'System', trigger_user_id: current_user.id,
user_id: user_id, viewed: 0, tiding_type: 'System', trigger_user_id: User.current.id,
parent_container_type: "HackDelete"
}
tidings.create!(base_attrs)

Loading…
Cancel
Save