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
This commit is contained in:
Toshi MARUYAMA 2011-08-22 13:30:33 +00:00
parent 59849253dd
commit 5a7c888df9
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class Attachment < ActiveRecord::Base
:description => attachment['description'].to_s.strip, :description => attachment['description'].to_s.strip,
:author => User.current) :author => User.current)
obj.attachments << a obj.attachments << a
if a.new_record? if a.new_record?
obj.unsaved_attachments ||= [] obj.unsaved_attachments ||= []
obj.unsaved_attachments << a obj.unsaved_attachments << a