From bfdce9c9332d1bf60dbd4f8cba95e593fd997dbf Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0tefan=20Baebler?= Date: Sun, 28 Jun 2009 18:00:11 +0000 Subject: [PATCH 1/1] localized geocoder search results --- app/controllers/geocoder_controller.rb | 2 ++ app/views/site/_search.html.erb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index b57a1f984..d6c1e38fa 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -1,7 +1,7 @@