Not forcing to redefine preload_relation

This commit is contained in:
Francisco Lopez 2017-12-01 19:21:04 +01:00
parent c5a89b35f0
commit 979056e964

View file

@ -10,7 +10,7 @@ module API
end end
def preload_relation(projects_relation, options = {}) def preload_relation(projects_relation, options = {})
raise NotImplementedError, 'self.preload_relation method must be defined and return a relation' projects_relation
end end
def forks_counting_projects(projects_relation) def forks_counting_projects(projects_relation)