X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3bd1f113bfaefc29a48657eefcc87f95dc2da3c..1ce8368f64dda8c11243412229c882dbb7f4e528:/app/helpers/application_helper.rb?ds=inline diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9c2b5fd3f..b28ab7c1a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2,4 +2,12 @@ module ApplicationHelper def htmlize(text) return sanitize(auto_link(simple_format(text), :urls)) end + + def rss_link_to(*args) + return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" }); + end + + def atom_link_to(*args) + return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" }); + end end