fixed Repository.url
This commit is contained in:
parent
096b0b954d
commit
8bf4e9b8d2
|
@ -49,7 +49,7 @@ class Repository < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def url
|
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
|
end
|
||||||
|
|
||||||
# with repository is mirror
|
# with repository is mirror
|
||||||
|
|
Loading…
Reference in New Issue