X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3bd1f113bfaefc29a48657eefcc87f95dc2da3c..e2d13817143e2297ff7a72210dbba30bf389ceba:/app/helpers/application_helper.rb?ds=sidebyside 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