1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-03 14:19:41 +00:00

Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13698 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-04 20:54:23 +00:00
parent 795b8df7fc
commit 0ab49d9c7c

View File

@ -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