2015-12-23 02:04:40 +05:30
|
|
|
module IssuesAction
|
|
|
|
extend ActiveSupport::Concern
|
2016-09-13 17:45:13 +05:30
|
|
|
include IssuableCollections
|
2015-12-23 02:04:40 +05:30
|
|
|
|
|
|
|
def issues
|
2016-09-13 17:45:13 +05:30
|
|
|
@label = issues_finder.labels.first
|
2015-12-23 02:04:40 +05:30
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
@issues = issues_collection
|
|
|
|
.non_archived
|
|
|
|
.page(params[:page])
|
2016-04-02 18:10:28 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
@collection_type = "Issue"
|
|
|
|
@issuable_meta_data = issuable_meta_data(@issues, @collection_type)
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
respond_to do |format|
|
|
|
|
format.html
|
|
|
|
format.atom { render layout: false }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|