Feature #2371 » attachment-encoding.patch
app/helpers/attachments_helper.rb | ||
---|---|---|
29 | 29 |
end |
30 | 30 |
|
31 | 31 |
def to_utf8(str) |
32 |
str |
|
32 |
RepositoriesHelper.to_utf8 str
|
|
33 | 33 |
end |
34 | 34 |
end |
app/helpers/repositories_helper.rb | ||
---|---|---|
118 | 118 |
end |
119 | 119 |
str |
120 | 120 |
end |
121 |
module_function :to_utf8 |
|
121 | 122 |
|
122 | 123 |
def repository_field_tags(form, repository) |
123 | 124 |
method = repository.class.name.demodulize.underscore + "_field_tags" |