diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-29 09:31:10 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-29 09:31:10 +0000 |
commit | 709c8605201e9bd86648fafe047ffb89262e9651 (patch) | |
tree | 50961e3e7d507013aa38ef430683a9dcb9203d12 | |
parent | 05c88a20a1c124706f0c3de5ff055f5f82b924cf (diff) | |
download | wrongdoc-709c8605201e9bd86648fafe047ffb89262e9651.tar.gz |
history: generate proper tag_uri for cgit
-rw-r--r-- | lib/wrongdoc/history.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrongdoc/history.rb b/lib/wrongdoc/history.rb index 3443ca3..aa06cc9 100644 --- a/lib/wrongdoc/history.rb +++ b/lib/wrongdoc/history.rb @@ -6,7 +6,7 @@ module Wrongdoc::History # returns a cgit URI for a given +tag_name+ def tag_uri(tag_name) uri = @cgit_uri.dup - uri.path = "/tag/" + uri.path += "/tag/" uri.query = "id=#{tag_name}" uri end |