]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/notes_controller.rb
Merge remote-tracking branch 'upstream/pull/1955'
[rails.git] / app / controllers / notes_controller.rb
index 120b0d17de6e2001bb38a4aec7d8ec57b6a0a854..552735b2aedbb8a20fbc4e0c4b90d16ffc4e34bd 100644 (file)
@@ -288,7 +288,7 @@ class NotesController < ApplicationController
       rescue ArgumentError
         raise OSM::APIBadUserInput, "Date #{params[:to]} is in a wrong format"
       end
-      @notes = @notes.where(:created_at => from .. to)
+      @notes = @notes.where(:created_at => from..to)
     end
 
     # Find the notes we want to return