X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3a8a2ebb1adb517a9ffac26af6be3cce415bdd67..1fea79bbbd7a660fe791dac3f801354fff3a4b50:/app/controllers/geocoder_controller.rb diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index f286ab9d3..c7efec154 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -3,6 +3,8 @@ class GeocoderController < ApplicationController require 'net/http' require 'rexml/document' + before_filter :set_locale + def search query = params[:query] results = Array.new