Fix Rubocop issue
This commit is contained in:
parent
b19e424112
commit
caef5828f4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue