Class: ProjectsFinder

Inherits:
UnionFinder show all
Defined in:
app/finders/projects_finder.rb

Instance Method Summary collapse

Methods inherited from UnionFinder

#find_union

Instance Method Details

#execute(current_user = nil, options = {}) ⇒ Object


2
3
4
5
6
# File 'app/finders/projects_finder.rb', line 2

def execute(current_user = nil, options = {})
  segments = all_projects(current_user)

  find_union(segments, Project)
end