summaryrefslogtreecommitdiffstats
path: root/app/helpers/attachments_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-08 18:26:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-08 18:26:39 +0000
commitd77c1d2829f985c418442940c623ec6ec5d5457b (patch)
tree306c57c239f36e81c78a2642a911ccf3bed280ef /app/helpers/attachments_helper.rb
parente833cab30e19b5c9d17db405660f081923482f11 (diff)
downloadredmine-d77c1d2829f985c418442940c623ec6ec5d5457b.tar.gz
redmine-d77c1d2829f985c418442940c623ec6ec5d5457b.zip
Unified diff viewer for attached files with .patch or .diff extension (#1403).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1516 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/attachments_helper.rb')
-rw-r--r--app/helpers/attachments_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb
index 989cd3e66..ebf417bab 100644
--- a/app/helpers/attachments_helper.rb
+++ b/app/helpers/attachments_helper.rb
@@ -22,4 +22,8 @@ module AttachmentsHelper
render :partial => 'attachments/links', :locals => {:attachments => attachments, :options => options}
end
end
+
+ def to_utf8(str)
+ str
+ end
end