gitlab-org--gitlab-foss/app/controllers/concerns/issues_action.rb
2016-03-19 17:37:54 -04:00

16 lines
357 B
Ruby

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