Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application_controller.rb « dashboard « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9fb5c5254258fcbb2fcde5e44f6551d47fbc714b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class Dashboard::ApplicationController < ApplicationController
  include ControllerWithCrossProjectAccessCheck

  layout 'dashboard'

  requires_cross_project_access

  private

  def projects
    @projects ||= current_user.authorized_projects.sorted_by_activity.non_archived
  end
end