]> git.openstreetmap.org Git - rails.git/commitdiff
Fix Rubocop issue
authorENT8R <info.ent8r@gmail.com>
Thu, 11 Oct 2018 06:36:13 +0000 (08:36 +0200)
committerENT8R <info.ent8r@gmail.com>
Thu, 11 Oct 2018 06:36:13 +0000 (08:36 +0200)
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