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:
parent
795b8df7fc
commit
0ab49d9c7c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user