diff options
author | Francisco Lopez <fjlopez@gitlab.com> | 2017-12-01 19:21:04 +0100 |
---|---|---|
committer | Francisco Lopez <fjlopez@gitlab.com> | 2017-12-01 19:21:04 +0100 |
commit | 979056e964827a9d6efc979843ac567a3dd5cdfd (patch) | |
tree | e2f79082a5af7f923553b9502ba63d94d12e5e74 | |
parent | c5a89b35f0d43b54df8767522428a006770673ac (diff) | |
download | gitlab-ce-979056e964827a9d6efc979843ac567a3dd5cdfd.tar.gz |
Not forcing to redefine preload_relation
-rw-r--r-- | lib/api/projects_relation_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects_relation_builder.rb b/lib/api/projects_relation_builder.rb index 2e042d51c05..6482fd94ab8 100644 --- a/lib/api/projects_relation_builder.rb +++ b/lib/api/projects_relation_builder.rb @@ -10,7 +10,7 @@ module API end def preload_relation(projects_relation, options = {}) - raise NotImplementedError, 'self.preload_relation method must be defined and return a relation' + projects_relation end def forks_counting_projects(projects_relation) |