mirror of
https://github.com/redmine/redmine.git
synced 2026-01-22 07:23:07 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user