aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rwxr-xr-xweb/taginfo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb
index 255e7d0..27fdb6f 100755
--- a/web/taginfo.rb
+++ b/web/taginfo.rb
@@ -162,7 +162,7 @@ class Taginfo < Sinatra::Base
%w(about apidoc download keys sources tags).each do |page|
get '/' + page do
- @title = t.taginfo[page]
+ @title = (page =~ /^(keys|tags)$/) ? t.osm[page] : t.taginfo[page]
erb page.to_sym
end
end