Commit 979056e9 authored by Francisco Lopez's avatar Francisco Lopez

Not forcing to redefine preload_relation

parent c5a89b35
...@@ -10,7 +10,7 @@ module API ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment