diff --git a/app/models/issue.rb b/app/models/issue.rb index f3851927e..6e7f9a52c 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1135,7 +1135,7 @@ class Issue < ActiveRecord::Base end end - # Callback on attachment deletion + # Callback on file attachment def attachment_added(obj) if @current_journal && !obj.new_record? @current_journal.details << JournalDetail.new(:property => 'attachment', :prop_key => obj.id, :value => obj.filename)