Further prevent ActionCable from triggering for comments

This commit is contained in:
Sebastian Serth
2020-03-04 12:00:25 +01:00
parent b2fc57430c
commit cb4cd7066c

View File

@ -7,6 +7,5 @@ class Comment < ApplicationRecord
belongs_to :file, class_name: 'CodeOcean::File' belongs_to :file, class_name: 'CodeOcean::File'
belongs_to :user, polymorphic: true belongs_to :user, polymorphic: true
# after_save :trigger_rfc_action_cable_from_comment
after_save :trigger_rfc_action_cable_from_comment
end end