Module: IssuesAction

Extended by:
ActiveSupport::Concern
Included in:
DashboardController, GroupsController
Defined in:
app/controllers/concerns/issues_action.rb

Instance Method Summary collapse

Instance Method Details

#issuesObject


4
5
6
7
8
9
10
11
12
13
14
15
# File 'app/controllers/concerns/issues_action.rb', line 4

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