issues_action.rb 446 Bytes
Newer Older
1 2
module IssuesAction
  extend ActiveSupport::Concern
3
  include IssuableCollections
4 5

  def issues
6
    @label = issues_finder.labels.first
7

8 9 10
    @issues = issues_collection
              .non_archived
              .page(params[:page])
Tap's avatar
Tap committed
11

12
    @collection_type    = "Issue"
13
    @issuable_meta_data = issuable_meta_data(@issues, @collection_type)
14

15 16 17 18 19 20
    respond_to do |format|
      format.html
      format.atom { render layout: false }
    end
  end
end