2015-11-17 05:03:18 -05:00
|
|
|
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)
|
|
|
|
|
2016-02-19 00:27:41 -05:00
|
|
|
@label = @issuable_finder.labels.first
|
2016-02-17 08:52:12 -05:00
|
|
|
|
2015-11-17 05:03:18 -05:00
|
|
|
respond_to do |format|
|
|
|
|
format.html
|
|
|
|
format.atom { render layout: false }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|