ApiAdresse::AddressAdapter#list → #get_suggestions
This commit is contained in:
parent
517c0ad3fc
commit
7af41b35a2
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ class Ban::SearchController < ApplicationController
|
|||
def get
|
||||
request = params[:request]
|
||||
|
||||
json = ApiAdresse::AddressAdapter.new(request).list.map do |value|
|
||||
json = ApiAdresse::AddressAdapter.new(request).get_suggestions.map do |value|
|
||||
{ label: value }
|
||||
end.to_json
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue