X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..85d17f257c338f668a1d17d9fc62a2f48ec84230:/app/controllers/note_controller.rb?ds=sidebyside diff --git a/app/controllers/note_controller.rb b/app/controllers/note_controller.rb index 1ee529c79..4c0c98b63 100644 --- a/app/controllers/note_controller.rb +++ b/app/controllers/note_controller.rb @@ -9,9 +9,6 @@ class NoteController < ApplicationController after_filter :compress_output around_filter :api_call_handle_error, :api_call_timeout - # Help methods for checking boundary sanity and area size - include MapBoundary - ## # Return a list of notes in a given area def list @@ -28,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)