Remove unused helper

This commit is contained in:
John Firebaugh 2012-08-25 19:31:52 -07:00 committed by Tom Hughes
parent 2e349ab51a
commit e2fed14ab8

View file

@ -9,14 +9,6 @@ module ApplicationHelper
end end
end end
def html_escape_unicode(text)
chars = ActiveSupport::Multibyte::Unicode.u_unpack(text).map do |c|
c < 127 ? c.chr : "&##{c.to_s};"
end
return chars.join("")
end
def rss_link_to(*args) def rss_link_to(*args)
return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" }); return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" });
end end