Remove restclient
This commit is contained in:
parent
258e6efcad
commit
c281347da1
18 changed files with 64 additions and 48 deletions
|
@ -62,7 +62,7 @@ class Champs::CarteController < ApplicationController
|
|||
@champ.save
|
||||
end
|
||||
|
||||
rescue RestClient::ResourceNotFound
|
||||
rescue ApiCarto::API::ResourceNotFound
|
||||
flash.alert = 'Les données cartographiques sont temporairement indisponibles. Réessayez dans un instant.'
|
||||
response.status = 503
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue