X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fc100474c5d74b20b2576bd3a8f633746c0c6fb2..4dd469c1bd4c1f4a2edac6c2d63bc571e874aa3f:/services/api/app/models/repository.rb diff --git a/services/api/app/models/repository.rb b/services/api/app/models/repository.rb index 6b027d1889..f159b48bda 100644 --- a/services/api/app/models/repository.rb +++ b/services/api/app/models/repository.rb @@ -1,5 +1,5 @@ class Repository < ArvadosModel - include AssignUuid + include HasUuid include KindAndEtag include CommonApiTemplate @@ -14,7 +14,7 @@ class Repository < ArvadosModel end def fetch_url - super || self.name && "git://git.#{Rails.configuration.uuid_prefix}.arvadosapi.com/#{self.name}.git" + super || push_url end protected