2015-11-17 05:03:18 -05:00
|
|
|
module MergeRequestsAction
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
def merge_requests
|
2016-02-25 22:08:45 -05:00
|
|
|
@merge_requests = get_merge_requests_collection.non_archived
|
2016-03-19 17:37:54 -04:00
|
|
|
@merge_requests = @merge_requests.page(params[:page])
|
2015-11-17 05:03:18 -05:00
|
|
|
@merge_requests = @merge_requests.preload(:author, :target_project)
|
2016-02-17 08:52:12 -05:00
|
|
|
|
2016-02-19 00:27:41 -05:00
|
|
|
@label = @issuable_finder.labels.first
|
2015-11-17 05:03:18 -05:00
|
|
|
end
|
|
|
|
end
|