api06: Fix typo.
This commit is contained in:
parent
ea1961e3ce
commit
cddded9569
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class NodeController < ApplicationController
|
||||||
else
|
else
|
||||||
render :nothing => true, :status => :bad_request
|
render :nothing => true, :status => :bad_request
|
||||||
end
|
end
|
||||||
rescue OSM::APIVersionMismatchError ex
|
rescue OSM::APIVersionMismatchError => ex
|
||||||
render :text => "Version mismatch: Provided " + ex.provided.to_s +
|
render :text => "Version mismatch: Provided " + ex.provided.to_s +
|
||||||
", server had: " + ex.latest.to_s, :status => :bad_request
|
", server had: " + ex.latest.to_s, :status => :bad_request
|
||||||
rescue ActiveRecord::RecordNotFound
|
rescue ActiveRecord::RecordNotFound
|
||||||
|
|
Loading…
Add table
Reference in a new issue