Module: RendersAssignees

Included in:
Projects::MergeRequestsController
Defined in:
app/controllers/concerns/renders_assignees.rb

Instance Method Summary collapse

Instance Method Details

#preload_assignees_for_render(merge_request) ⇒ Object


4
5
6
# File 'app/controllers/concerns/renders_assignees.rb', line 4

def preload_assignees_for_render(merge_request)
  merge_request.project.team.max_member_access_for_user_ids(merge_request.assignees.map(&:id))
end