mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 09:23:58 +08:00
Don't touch result when comment is created [SCI-7596]
This commit is contained in:
parent
9e75a54635
commit
7460cc5b82
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
class ResultComment < Comment
|
||||
before_create :fill_unseen_by
|
||||
|
||||
belongs_to :result, foreign_key: :associated_id, inverse_of: :result_comments, touch: true
|
||||
belongs_to :result, foreign_key: :associated_id, inverse_of: :result_comments
|
||||
|
||||
validates :result, presence: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue