]> git.openstreetmap.org Git - rails.git/commitdiff
Bounding boxes are sanitised on creation now
authorTom Hughes <tom@compton.nu>
Fri, 6 Jan 2012 00:24:27 +0000 (00:24 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 6 Jan 2012 00:24:27 +0000 (00:24 +0000)
app/controllers/note_controller.rb

index fe83f7d03a6246042d43dc40b150ec809898da25..4c0c98b6320257027a647149ed4f169dc7639d25 100644 (file)
@@ -25,9 +25,6 @@ class NoteController < ApplicationController
       bbox = BoundingBox.from_lrbt_params(params)
     end
 
-    # Get the sanitised boundaries
-    @min_lon, @min_lat, @max_lon, @max_lat = sanitise_boundaries(bbox)
-
     # Get any conditions that need to be applied
     notes = closed_condition(Note.scoped)