]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/index.atom.builder
Fix malformed tags table in changeset atom feed
[rails.git] / app / views / changesets / index.atom.builder
index 7fd9b5dd21cf0a80b1117ee952c17887a7322193..1363b8c023fb7c96851e6ddd5747c2a5fd635c8e 100644 (file)
@@ -62,7 +62,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
                 td.table :cellpadding => "0" do |tag_table|
                   changeset.tags.sort.each do |tag|
                     tag_table.tr do |tag_tr|
-                      tag_tr.td << "#{tag[0]} = #{linkify(tag[1])}"
+                      tag_tr.td "#{tag[0]} = #{linkify(tag[1])}"
                     end
                   end
                 end
@@ -72,7 +72,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
         end
       end
 
-      if changeset.has_valid_bbox?
+      if changeset.bbox_valid?
         bbox = changeset.bbox.to_unscaled
 
         # See http://georss.org/Encodings#Geometry