diff options
author | Jochen Topf <jochen@topf.org> | 2010-10-19 19:10:18 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2010-10-19 19:10:18 +0200 |
commit | d9fb5ea09fe5e3245a0fb4803e5893870da46a8f (patch) | |
tree | 2a19d69fc33c5efa3ba028f8d11b295255d3fa63 /web/taginfo.rb | |
parent | 50057d5c906619234e80cb20708650d9ed78715a (diff) | |
download | taginfo-d9fb5ea09fe5e3245a0fb4803e5893870da46a8f.tar taginfo-d9fb5ea09fe5e3245a0fb4803e5893870da46a8f.tar.gz |
Moved all api parameters out of path and into parameters, bumped api to version 2
Diffstat (limited to 'web/taginfo.rb')
-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 88ec966..21c38e5 100755 --- a/web/taginfo.rb +++ b/web/taginfo.rb @@ -195,7 +195,7 @@ class Taginfo < Sinatra::Base @title = [@key_html + '=' + @value_html, 'Tags'] @breadcrumbs << ['Keys', '/keys'] @breadcrumbs << [@key_html, '/keys/' + @key_uri] - @breadcrumbs << @key_html + '=' + ( @value.length > 20 ? escape_html(@value[0,20] + '...') : @value_html) + @breadcrumbs << ( @value.length > 30 ? escape_html(@value[0,20] + '...') : @value_html) @filter_type = get_filter() @sel = Hash.new('') |