X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..d8c1b28fde32414c9fd7f212dff8954942ef0b5c:/app/views/changesets/index.atom.builder 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