- Refactor code carte
- Delete auto-comments when edit carte and description
This commit is contained in:
parent
c461d58297
commit
5513504555
9 changed files with 74 additions and 119 deletions
|
@ -2,7 +2,7 @@ module Carto
|
|||
# this class take a string in input and return a point
|
||||
class Geocodeur
|
||||
def self.convert_adresse_to_point(address)
|
||||
Carto::Bano::PointRetriever.new(address)
|
||||
Carto::Bano::PointRetriever.new(address).point
|
||||
rescue RestClient::Exception, JSON::ParserError => e
|
||||
Rails.logger.error e.message
|
||||
nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue