diff options
author | Jochen Topf <jochen@topf.org> | 2012-01-23 15:56:07 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-01-23 15:56:07 +0100 |
commit | f1751955ffb2a3d77db02d591fafdbb95c287b9f (patch) | |
tree | b215d01fb325ec44222aa7e039242ee768966d51 /web | |
parent | 8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77 (diff) | |
download | taginfo-f1751955ffb2a3d77db02d591fafdbb95c287b9f.tar taginfo-f1751955ffb2a3d77db02d591fafdbb95c287b9f.tar.gz |
fix page titles
Diffstat (limited to 'web')
-rwxr-xr-x | web/taginfo.rb | 2 |
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 |