]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/notes_controller.rb
Pass min/max lat/lon to notes rss feed builder
[rails.git] / app / controllers / api / notes_controller.rb
index c152c6272266a352c9d2f1d5b5dbfcf6b2d81263..7f508ab34be07948d68854fab4c79bee78349794 100644 (file)
@@ -190,6 +190,10 @@ module Api
         bbox.check_size(Settings.max_note_request_area)
 
         notes = notes.bbox(bbox)
+        @min_lon = bbox.min_lon
+        @min_lat = bbox.min_lat
+        @max_lon = bbox.max_lon
+        @max_lat = bbox.max_lat
       end
 
       # Find the comments we want to return