]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Eager load node and way details when processing a map call.
[rails.git] / app / helpers / application_helper.rb
index 9c2b5fd3fe9376854d0d503edce6ef31f13ce29e..3119c8435469003a9433793005306b4be504df70 100644 (file)
@@ -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