]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Wrap GPX API calls with the API error handler, and make sure the create
[rails.git] / app / helpers / application_helper.rb
index 3119c8435469003a9433793005306b4be504df70..b28ab7c1a6eca2dabe18a38d1b90e694bc9e5f6d 100644 (file)
@@ -6,4 +6,8 @@ module ApplicationHelper
   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