about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-29 09:31:10 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-29 09:31:10 +0000
commit709c8605201e9bd86648fafe047ffb89262e9651 (patch)
tree50961e3e7d507013aa38ef430683a9dcb9203d12
parent05c88a20a1c124706f0c3de5ff055f5f82b924cf (diff)
downloadwrongdoc-709c8605201e9bd86648fafe047ffb89262e9651.tar.gz
history: generate proper tag_uri for cgit
-rw-r--r--lib/wrongdoc/history.rb2
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