diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-18 17:15:46 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-18 17:15:46 +0200 |
commit | 97684ad75b7d776eb69c37f966fe567d9610d3a2 (patch) | |
tree | a35de8acdaa8b4c456a79312d9ede9633c25a4b6 /web | |
parent | 52afb48b85da361f1d7031f1c76d33e238a50d05 (diff) | |
download | taginfo-97684ad75b7d776eb69c37f966fe567d9610d3a2.tar taginfo-97684ad75b7d776eb69c37f966fe567d9610d3a2.tar.gz |
Fixed Overpass Turbo link
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |