debian-mirror-gitlab/app/controllers/concerns/issues_action.rb
2016-09-13 17:45:13 +05:30

18 lines
381 B
Ruby

module IssuesAction
extend ActiveSupport::Concern
include IssuableCollections
def issues
@label = issues_finder.labels.first
@issues = issues_collection
.non_archived
.preload(:author, :project)
.page(params[:page])
respond_to do |format|
format.html
format.atom { render layout: false }
end
end
end