mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 14:32:34 +08:00
fix a stupid2
This commit is contained in:
parent
b917a0c3e0
commit
2e45093856
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ class Step < ApplicationRecord
|
|||
end
|
||||
|
||||
assets.each do |a|
|
||||
a.created_by.id ||= last_modified_by_id
|
||||
a.created_by_id ||= last_modified_by_id
|
||||
if a.changed?
|
||||
a.last_modified_by_id = last_modified_by_id
|
||||
a.save!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue