aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-23 15:56:07 +0100
committerJochen Topf <jochen@topf.org>2012-01-23 15:56:07 +0100
commitf1751955ffb2a3d77db02d591fafdbb95c287b9f (patch)
treeb215d01fb325ec44222aa7e039242ee768966d51 /web
parent8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77 (diff)
downloadtaginfo-f1751955ffb2a3d77db02d591fafdbb95c287b9f.tar
taginfo-f1751955ffb2a3d77db02d591fafdbb95c287b9f.tar.gz
fix page titles
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