X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6cc9d6e055974384be446f6da8218ff7da048ae..ec07cd1ad893c15d94844b3cf2d8d95ae5cfd611:/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