Project

General

Profile

Patch #27529 » attachment_added_save.patch

Javier Menéndez Rizo, 2017-11-14 17:28

View differences:

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

  
    (1-1/1)