From: Tom Hughes Date: Fri, 6 Jan 2012 00:24:27 +0000 (+0000) Subject: Bounding boxes are sanitised on creation now X-Git-Tag: live~5120^2~124 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e756dbae7f3715561de5688e6503b60fdfe0327d?ds=sidebyside Bounding boxes are sanitised on creation now --- diff --git a/app/controllers/note_controller.rb b/app/controllers/note_controller.rb index fe83f7d03..4c0c98b63 100644 --- a/app/controllers/note_controller.rb +++ b/app/controllers/note_controller.rb @@ -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)