gitlab-org--gitlab-foss/app/controllers/concerns/merge_requests_action.rb

13 lines
297 B
Ruby
Raw Normal View History

module MergeRequestsAction
extend ActiveSupport::Concern
include IssuableCollections
def merge_requests
@label = merge_requests_finder.labels.first
@merge_requests = merge_requests_collection
.non_archived
.page(params[:page])
end
end