]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/note_controller.rb
Include the event type in the JSON output of a note
[rails.git] / app / controllers / note_controller.rb
index 1ee529c7951f71104f1397672d252f00d30560b0..4c0c98b6320257027a647149ed4f169dc7639d25 100644 (file)
@@ -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)