Remove unused helper
This commit is contained in:
parent
2e349ab51a
commit
e2fed14ab8
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue