Project

General

Profile

Defect #29038 » attachment_title_dup_from_filename.diff

Toru Takahashi, 2018-06-17 17:12

View differences:

app/models/attachment.rb
156 156
  end
157 157

  
158 158
  def title
159
    title = filename.to_s
159
    title = filename.dup
160 160
    if description.present?
161 161
      title << " (#{description})"
162 162
    end
(3-3/3)