summaryrefslogtreecommitdiffstats
path: root/app/models/attachment.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-22 13:30:33 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-22 13:30:33 +0000
commit5a7c888df989523d91c76873fa94cc2bdaaca595 (patch)
tree74add98286671ac52ef99a522ea5bb8848147d15 /app/models/attachment.rb
parent59849253dda5e5c9f12be51ec7a47d33214f7032 (diff)
downloadredmine-5a7c888df989523d91c76873fa94cc2bdaaca595.tar.gz
redmine-5a7c888df989523d91c76873fa94cc2bdaaca595.zip
remove trailing white-spaces from app/models/attachment.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6526 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/attachment.rb')
-rw-r--r--app/models/attachment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/attachment.rb b/app/models/attachment.rb
index d16d5cddf..e566cb381 100644
--- a/app/models/attachment.rb
+++ b/app/models/attachment.rb
@@ -151,7 +151,7 @@ class Attachment < ActiveRecord::Base
:description => attachment['description'].to_s.strip,
:author => User.current)
obj.attachments << a
-
+
if a.new_record?
obj.unsaved_attachments ||= []
obj.unsaved_attachments << a