summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-04 20:54:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-04 20:54:23 +0000
commit0ab49d9c7c22da877181e54f001d1d1fae837e41 (patch)
tree11c1f3294880d3b8f6102b334e96ca01fde2c681 /app/helpers
parent795b8df7fcb70328a38b9fb4dc5b2614e165a653 (diff)
downloadredmine-0ab49d9c7c22da877181e54f001d1d1fae837e41.tar.gz
redmine-0ab49d9c7c22da877181e54f001d1d1fae837e41.zip
Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13698 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 8bc672e62..ea81dabfe 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -221,14 +221,6 @@ module ApplicationHelper
link_to(name, "#", :onclick => onclick)
end
- def image_to_function(name, function, html_options = {})
- html_options.symbolize_keys!
- tag(:input, html_options.merge({
- :type => "image", :src => image_path(name),
- :onclick => (html_options[:onclick] ? "#{html_options[:onclick]}; " : "") + "#{function};"
- }))
- end
-
def format_activity_title(text)
h(truncate_single_line_raw(text, 100))
end