From: John Firebaugh Date: Sun, 26 Aug 2012 02:31:52 +0000 (-0700) Subject: Remove unused helper X-Git-Tag: live~5959 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/e2fed14ab87832996794e45b12e97f9ae5ef939a Remove unused helper --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 81ff1e95b..e0c299ca5 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -9,14 +9,6 @@ module ApplicationHelper 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) return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" }); end