projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2044: Fixed CollectionsController#search_scopes to use 'filter' correctly
[arvados.git]
/
services
/
api
/
app
/
models
/
repository.rb
diff --git
a/services/api/app/models/repository.rb
b/services/api/app/models/repository.rb
index 6b027d18899caf8297e7ce8a740c6db9ef965ac6..f159b48bdacd62ca841ade0f42a394163d5bd084 100644
(file)
--- a/
services/api/app/models/repository.rb
+++ b/
services/api/app/models/repository.rb
@@
-1,5
+1,5
@@
class Repository < ArvadosModel
class Repository < ArvadosModel
- include
Assign
Uuid
+ include
Has
Uuid
include KindAndEtag
include CommonApiTemplate
include KindAndEtag
include CommonApiTemplate
@@
-14,7
+14,7
@@
class Repository < ArvadosModel
end
def fetch_url
end
def fetch_url
- super ||
self.name && "git://git.#{Rails.configuration.uuid_prefix}.arvadosapi.com/#{self.name}.git"
+ super ||
push_url
end
protected
end
protected