mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 17:09:45 +08:00
Merge pull request #4927 from artoscinote/ma_SCI_7584
Don't touch steps when commenting [SCI-7584]
This commit is contained in:
commit
dd5c567e50
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
class StepComment < Comment
|
||||
before_create :fill_unseen_by
|
||||
|
||||
belongs_to :step, foreign_key: :associated_id, inverse_of: :step_comments, touch: true
|
||||
belongs_to :step, foreign_key: :associated_id, inverse_of: :step_comments
|
||||
|
||||
validates :step, presence: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue