Fix Rubocop issue

This commit is contained in:
ENT8R 2018-10-11 08:36:13 +02:00
parent b19e424112
commit caef5828f4
No known key found for this signature in database
GPG key ID: F157C7F553A0FAC4

View file

@ -288,7 +288,7 @@ class NotesController < ApplicationController
rescue ArgumentError rescue ArgumentError
raise OSM::APIBadUserInput, "Date #{params[:to]} is in a wrong format" raise OSM::APIBadUserInput, "Date #{params[:to]} is in a wrong format"
end end
@notes = @notes.where(:created_at => from .. to) @notes = @notes.where(:created_at => from..to)
end end
# Find the notes we want to return # Find the notes we want to return