From caef5828f41c5eddd938918ab3a961580f71801a Mon Sep 17 00:00:00 2001 From: ENT8R Date: Thu, 11 Oct 2018 08:36:13 +0200 Subject: [PATCH] Fix Rubocop issue --- app/controllers/notes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 120b0d17d..552735b2a 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -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 -- 2.39.5