gitlab-org--gitlab-foss/app/controllers/concerns/issues_action.rb
Rémy Coutable d4e91b22fc
Revert part of "Merge branch 'update_issues_mr_counter' into 'master'
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-22 15:43:43 +02:00

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