Fixed comment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10377 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip 2012-09-12 21:30:30 +00:00
parent 338d81d6e3
commit 597fbf0e04
1 changed files with 1 additions and 1 deletions

View File

@ -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)