##// END OF EJS Templates
remove trailing white-spaces from app/models/attachment.rb....
Toshi MARUYAMA -
r6406:5a7c888df989
parent child
Show More
@@ -151,7 +151,7 class Attachment < ActiveRecord::Base
151 :description => attachment['description'].to_s.strip,
151 :description => attachment['description'].to_s.strip,
152 :author => User.current)
152 :author => User.current)
153 obj.attachments << a
153 obj.attachments << a
154
154
155 if a.new_record?
155 if a.new_record?
156 obj.unsaved_attachments ||= []
156 obj.unsaved_attachments ||= []
157 obj.unsaved_attachments << a
157 obj.unsaved_attachments << a
General Comments 0
You need to be logged in to leave comments. Login now