Files
gitlabhq/app/controllers/dashboard/application_controller.rb
T
Rémy Coutable e257e81cbf Merge branch 'fix/14505' into 'master'
Fix an issue causing the Dashboard/Milestones page to be blank

Fixes #14505 and #14514.

See merge request !3348
2016-03-23 12:48:08 +01:00

10 lines
204 B
Ruby

class Dashboard::ApplicationController < ApplicationController
layout 'dashboard'
private
def projects
@projects ||= current_user.authorized_projects.sorted_by_activity.non_archived
end
end