BigW Consortium Gitlab

merge_requests_action.rb 297 Bytes
Newer Older
1 2
module MergeRequestsAction
  extend ActiveSupport::Concern
3
  include IssuableCollections
4 5

  def merge_requests
6
    @label = merge_requests_finder.labels.first
Tap committed
7

8 9 10
    @merge_requests = merge_requests_collection
                      .non_archived
                      .page(params[:page])
11 12
  end
end