debian-mirror-gitlab/app/controllers/concerns/issues_action.rb
2017-09-10 17:25:29 +05:30

20 lines
451 B
Ruby

module IssuesAction
extend ActiveSupport::Concern
include IssuableCollections
def issues
@label = issues_finder.labels.first
@issues = issues_collection
.non_archived
.page(params[:page])
@collection_type = "Issue"
@issuable_meta_data = issuable_meta_data(@issues, @collection_type)
respond_to do |format|
format.html
format.atom { render layout: 'xml.atom' }
end
end
end