about summary refs log tree commit homepage
path: root/lib/olddoc/history.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/olddoc/history.rb')
-rw-r--r--lib/olddoc/history.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/olddoc/history.rb b/lib/olddoc/history.rb
index dcdf0fe..800446e 100644
--- a/lib/olddoc/history.rb
+++ b/lib/olddoc/history.rb
@@ -9,7 +9,7 @@ module Olddoc::History # :nodoc:
 
   # returns a cgit URI for a given +tag_name+
   def tag_uri(tag_name)
-    uri = @cgit_uri.dup
+    uri = @cgit_uri[0].dup
     uri.path += "/tag/"
     uri.query = "id=#{tag_name}"
     uri