Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2016-02-05 12:28:16 +00:00
parent c7061991e7
commit 5d3ecffa28
41 changed files with 252 additions and 250 deletions

View file

@ -264,7 +264,7 @@ class TraceController < ApplicationController
new_trace = Trace.from_xml(request.raw_post)
unless new_trace && new_trace.id == trace.id
fail OSM::APIBadUserInput.new("The id in the url (#{trace.id}) is not the same as provided in the xml (#{new_trace.id})")
raise OSM::APIBadUserInput.new("The id in the url (#{trace.id}) is not the same as provided in the xml (#{new_trace.id})")
end
trace.description = new_trace.description