From 97684ad75b7d776eb69c37f966fe567d9610d3a2 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 18 May 2014 17:15:46 +0200 Subject: Fixed Overpass Turbo link --- web/lib/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/lib/utils.rb b/web/lib/utils.rb index fc0d395..104d9d6 100644 --- a/web/lib/utils.rb +++ b/web/lib/utils.rb @@ -108,7 +108,7 @@ def turbo_link(count, filter, key, value=nil) if filter != 'all' filter_condition = ' and type:' + filter.chop end - url = TaginfoConfig.get('turbo.wizard_url_prefix', 'http://overpass-turbo.eu/master?') + 'w=' + Rack::Utils::escape('"' + key + '"=' + value + filter_condition.to_s + ' ' + TaginfoConfig.get('turbo.wizard_area', 'global')) + '&R' + url = TaginfoConfig.get('turbo.url_prefix', 'http://overpass-turbo.eu/?') + 'w=' + Rack::Utils::escape('"' + key + '"=' + value + filter_condition.to_s + ' ' + TaginfoConfig.get('turbo.wizard_area', 'global')) + '&R' else template = 'key'; parameters = { :key => key } -- cgit v1.2.3