address/get → address/suggestions

This commit is contained in:
gregoirenovel 2018-10-15 23:39:42 +02:00
parent 43f9fc93de
commit 6658b466cb
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import { getJSON, fire } from '@utils';
const sources = [
{
type: 'address',
url: '/address/search'
url: '/address/suggestions'
},
{
type: 'path',

View file

@ -250,7 +250,7 @@ Rails.application.routes.draw do
# Addresses
#
get 'address/search' => 'address#get'
get 'address/suggestions' => 'address#get'
get 'address/geocode' => 'address#geocode'
namespace :invites do