2015-11-17 10:03:18 +00:00
|
|
|
module IssuesAction
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
def issues
|
2016-02-26 02:57:28 +00:00
|
|
|
@issues = get_issues_collection.non_archived
|
2016-03-19 21:37:54 +00:00
|
|
|
@issues = @issues.page(params[:page])
|
2015-11-17 10:03:18 +00:00
|
|
|
@issues = @issues.preload(:author, :project)
|
|
|
|
|
2016-02-19 05:27:41 +00:00
|
|
|
@label = @issuable_finder.labels.first
|
2016-02-17 13:52:12 +00:00
|
|
|
|
2015-11-17 10:03:18 +00:00
|
|
|
respond_to do |format|
|
|
|
|
format.html
|
|
|
|
format.atom { render layout: false }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|