Patch #27529 » attachment_added_save.patch
app/models/issue.rb (revision ) | ||
---|---|---|
1744 | 1744 |
def attachment_added(attachment) |
1745 | 1745 |
if current_journal && !attachment.new_record? |
1746 | 1746 |
current_journal.journalize_attachment(attachment, :added) |
1747 |
current_journal.save |
|
1747 | 1748 |
end |
1748 | 1749 |
end |
1749 | 1750 |