X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3bd1f113bfaefc29a48657eefcc87f95dc2da3c..2153fb6efde49f305c3f0d987f37a27d8e43ae26:/app/helpers/application_helper.rb diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9c2b5fd3f..3119c8435 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2,4 +2,8 @@ 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 end