fix use of versions vs journals
This commit is contained in:
parent
a6a25cc5c1
commit
4eb07d6ce6
|
@ -750,8 +750,8 @@ class Issue < ActiveRecord::Base
|
|||
# Implicitely creates a new journal
|
||||
duplicate.update_attribute :status, self.status
|
||||
# Same user and notes
|
||||
duplicate.versions.last.user = current_journal.user
|
||||
duplicate.versions.last.notes = current_journal.notes
|
||||
duplicate.journals.last.user = current_journal.user
|
||||
duplicate.journals.last.notes = current_journal.notes
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue