Not forcing to redefine preload_relation
This commit is contained in:
parent
c5a89b35f0
commit
979056e964
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue