summaryrefslogtreecommitdiff
path: root/web/taginfo.rb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2015-05-12 18:20:38 +0200
committerJochen Topf <jochen@topf.org>2015-05-12 18:20:38 +0200
commita338547eafeed14eae74befbe706eadcf6a9fb4e (patch)
tree3f6a30a61754e1d6c8b3559ce11cc4757d8561d1 /web/taginfo.rb
parentdfb106fd58e2ff79ef9f035a135cc0f9492df7cf (diff)
downloadtaginfo-a338547eafeed14eae74befbe706eadcf6a9fb4e.tar
taginfo-a338547eafeed14eae74befbe706eadcf6a9fb4e.tar.gz
Add experimental new home page.
This could replace the current home page at some point.
Diffstat (limited to 'web/taginfo.rb')
-rwxr-xr-xweb/taginfo.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb
index 7dcec2c..778602a 100755
--- a/web/taginfo.rb
+++ b/web/taginfo.rb
@@ -9,7 +9,7 @@
#
#------------------------------------------------------------------------------
#
-# Copyright (C) 2010-2014 Jochen Topf <jochen@remote.org>
+# Copyright (C) 2010-2015 Jochen Topf <jochen@remote.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -165,6 +165,11 @@ class Taginfo < Sinatra::Base
erb :index
end
+ get '/test-index' do
+ javascript "#{ r18n.locale.code }/test-index"
+ erb :'test-index'
+ end
+
#-------------------------------------
%w(about download sources).each do |page|