Defect #29038 » attachment_title_dup_from_filename.diff
| app/models/attachment.rb | ||
|---|---|---|
|
end
|
||
|
def title
|
||
|
title = filename.to_s
|
||
|
title = filename.dup
|
||
|
if description.present?
|
||
|
title << " (#{description})"
|
||
|
end
|
||
- « Previous
- 1
- 2
- 3
- Next »