aboutsummaryrefslogtreecommitdiff
path: root/web/lib
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-18 06:24:16 +0200
committerJochen Topf <jochen@topf.org>2014-05-18 06:24:16 +0200
commit149c5f60b7b0e7ff7109ce513e020e4067dd8e68 (patch)
treeaac5093d33efa8395a1e11145f9ee294afb2b1c0 /web/lib
parent77797a786056a0e8a9abd95f7350546829ac8bea (diff)
downloadtaginfo-149c5f60b7b0e7ff7109ce513e020e4067dd8e68.tar
taginfo-149c5f60b7b0e7ff7109ce513e020e4067dd8e68.tar.gz
Rename /comparison page to /compare.
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/ui/compare.rb (renamed from web/lib/ui/comparison.rb)8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/lib/ui/comparison.rb b/web/lib/ui/compare.rb
index 936071e..4c08741 100644
--- a/web/lib/ui/comparison.rb
+++ b/web/lib/ui/compare.rb
@@ -1,7 +1,7 @@
-# web/lib/ui/comparison.rb
+# web/lib/ui/compare.rb
class Taginfo < Sinatra::Base
- get %r{^/comparison/(.*)} do |items|
+ get %r{^/compare/(.*)} do |items|
@data = []
if !items.nil?
@@ -66,8 +66,8 @@ class Taginfo < Sinatra::Base
@img_width = TaginfoConfig.get('geodistribution.width')
@img_height = TaginfoConfig.get('geodistribution.height')
- javascript "#{ r18n.locale.code }/comparison"
- erb :comparison
+ javascript "#{ r18n.locale.code }/compare"
+ erb :compare
end
end