X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..f398c1e5eb35fa9e355544fb2860bc2ca9cfbe67:/app/views/changesets/index.atom.builder?ds=inline diff --git a/app/views/changesets/index.atom.builder b/app/views/changesets/index.atom.builder index 2bbae2cc2..3ab438b59 100644 --- a/app/views/changesets/index.atom.builder +++ b/app/views/changesets/index.atom.builder @@ -72,14 +72,14 @@ 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 lower_corner = "#{bbox.min_lat} #{bbox.min_lon}" upper_corner = "#{bbox.max_lat} #{bbox.max_lon}" - feed.georss :box, lower_corner + " " + upper_corner + feed.georss :box, "#{lower_corner} #{upper_corner}" end end end