2015-12-23 02:04:40 +05:30
|
|
|
module MergeRequestsAction
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
def merge_requests
|
2016-06-02 11:05:42 +05:30
|
|
|
@merge_requests = get_merge_requests_collection.non_archived
|
|
|
|
@merge_requests = @merge_requests.page(params[:page])
|
2015-12-23 02:04:40 +05:30
|
|
|
@merge_requests = @merge_requests.preload(:author, :target_project)
|
2016-04-02 18:10:28 +05:30
|
|
|
|
|
|
|
@label = @issuable_finder.labels.first
|
2015-12-23 02:04:40 +05:30
|
|
|
end
|
|
|
|
end
|