Defect #29038 » attachment_title_dup_from_filename.diff
| 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 |
- « Previous
- 1
- 2
- 3
- Next »