forked from Gitlink/forgeplus
fixed Repository.url
This commit is contained in:
parent
096b0b954d
commit
8bf4e9b8d2
|
@ -49,7 +49,7 @@ class Repository < ApplicationRecord
|
|||
end
|
||||
|
||||
def url
|
||||
self['url'].blank? ? "#{Gitea.gitea_config[:domain]}/#{self.owner&.login}/#{self.identifier}.git" : self['url']
|
||||
self['url'].blank? ? "#{GiteaService.gitea_config[:domain]}/#{self.owner&.login}/#{self.identifier}.git" : self['url']
|
||||
end
|
||||
|
||||
# with repository is mirror
|
||||
|
|
Loading…
Reference in New Issue