diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-18 06:24:16 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-18 06:24:16 +0200 |
commit | 149c5f60b7b0e7ff7109ce513e020e4067dd8e68 (patch) | |
tree | aac5093d33efa8395a1e11145f9ee294afb2b1c0 /web/lib | |
parent | 77797a786056a0e8a9abd95f7350546829ac8bea (diff) | |
download | taginfo-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 |