m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.rb b/lib/util.rb
index f5321a0..48ac7e1 100644
--- a/lib/util.rb
+++ b/lib/util.rb
@@ -15,6 +15,6 @@ def path_to asset_id
P.path_to asset_id
end
-def git repo
- "https://git.m-chrzan.xyz/#{repo}/about"
+def git repo, path = 'about'
+ "https://git.m-chrzan.xyz/#{repo}/#{path}"
end