BigW Consortium Gitlab

merge_requests_action.rb 330 Bytes
Newer Older
1 2 3 4
module MergeRequestsAction
  extend ActiveSupport::Concern

  def merge_requests
5
    @merge_requests = get_merge_requests_collection.non_archived
6
    @merge_requests = @merge_requests.page(params[:page])
7
    @merge_requests = @merge_requests.preload(:author, :target_project)
Tap committed
8

Tap committed
9
    @label = @issuable_finder.labels.first
10 11
  end
end