From 0ab49d9c7c22da877181e54f001d1d1fae837e41 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 4 Dec 2014 20:54:23 +0000 Subject: [PATCH] Removed unused helper. git-svn-id: http://svn.redmine.org/redmine/trunk@13698 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 8 -------- 1 file changed, 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