Skip to content

Commit afb07d4

Browse files
author
root
committed
Add comments
1 parent 27bb18e commit afb07d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: app/models/concerns/gitolitable_urls.rb

+4
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,17 @@ def git_annex_url
4646
end
4747

4848

49+
# This is the url used by Go to clone repository
50+
#
4951
def go_access_url
5052
return '' if !smart_http_enabled?
5153
return https_url if https_access_available?
5254
return http_url if http_access_available?
5355
end
5456

5557

58+
# This is the url to add in Go files
59+
#
5660
def go_url
5761
return '' if !smart_http_enabled?
5862
return "#{RedmineGitHosting::Config.https_server_domain}/#{go_access_path}" if https_access_available?

0 commit comments

Comments
 (0)