From 979056e964827a9d6efc979843ac567a3dd5cdfd Mon Sep 17 00:00:00 2001 From: Francisco Lopez Date: Fri, 1 Dec 2017 19:21:04 +0100 Subject: [PATCH] Not forcing to redefine preload_relation --- lib/api/projects_relation_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)