debian-mirror-gitlab/app/controllers/concerns/issues_action.rb
2016-04-02 18:10:28 +05:30

16 lines
381 B
Ruby

module IssuesAction
extend ActiveSupport::Concern
def issues
@issues = get_issues_collection
@issues = @issues.page(params[:page]).per(ApplicationController::PER_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