debian-mirror-gitlab/app/controllers/dashboard/application_controller.rb
2016-06-02 11:05:42 +05:30

9 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