From 864e2f59ac4e4aadf8c5a4bf97e35facaaea6883 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 26 Jul 2020 01:59:30 +0000 Subject: allow multiple rdoc_url and cgit_url values Might as well, since domain name ownership is a shaky thing and ICANN may try to screw the world over once again. --- lib/olddoc/history.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/olddoc/history.rb') 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 -- cgit v1.2.3-24-ge0c7