From d73128271f8394cbb9c62879e5a8cf6356ab604d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 26 Sep 2016 12:38:54 +0100 Subject: [PATCH] Fix rubocop warnings --- app/controllers/geocoder_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index 8ad51b234..57f86ec9f 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -181,7 +181,7 @@ class GeocoderController < ApplicationController prefix_name = t "geocoder.search_osm_nominatim.admin_levels.level#{rank}", :default => prefix_name place.elements["extratags"].elements.each("tag") do |extratag| if extratag.attributes["key"] == "place" - prefix_name = t "geocoder.search_osm_nominatim.prefix.place.#{extratag.attributes["value"]}", :default => prefix_name + prefix_name = t "geocoder.search_osm_nominatim.prefix.place.#{extratag.attributes['value']}", :default => prefix_name end end end -- 2.39.5