debian-mirror-gitlab/app/controllers/concerns/issues_action.rb

17 lines
357 B
Ruby
Raw Normal View History

2015-12-23 02:04:40 +05:30
module IssuesAction
extend ActiveSupport::Concern
def issues
2016-06-02 11:05:42 +05:30
@issues = get_issues_collection.non_archived
@issues = @issues.page(params[:page])
2015-12-23 02:04:40 +05:30
@issues = @issues.preload(:author, :project)
2016-04-02 18:10:28 +05:30
@label = @issuable_finder.labels.first
2015-12-23 02:04:40 +05:30
respond_to do |format|
format.html
format.atom { render layout: false }
end
end
end