We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27bb18e commit afb07d4Copy full SHA for afb07d4
app/models/concerns/gitolitable_urls.rb
@@ -46,13 +46,17 @@ def git_annex_url
46
end
47
48
49
+ # This is the url used by Go to clone repository
50
+ #
51
def go_access_url
52
return '' if !smart_http_enabled?
53
return https_url if https_access_available?
54
return http_url if http_access_available?
55
56
57
58
+ # This is the url to add in Go files
59
60
def go_url
61
62
return "#{RedmineGitHosting::Config.https_server_domain}/#{go_access_path}" if https_access_available?
0 commit comments