summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-18 21:22:34 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-18 21:22:34 +0300
commit439f399bece8c2b01dc064b6c02f28fb4149595e (patch)
tree1862fa39f76a9c8941f5120ba7af5fc3d5f91124 /app/controllers/dashboard_controller.rb
parent670aaaeb9db7902c8776cb7754ac8fd1e7a606a1 (diff)
downloadgitlab-ce-439f399bece8c2b01dc064b6c02f28fb4149595e.tar.gz
Remove all team resources except models. Move models to deprecated directory
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r--app/controllers/dashboard_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 9b3f59600c6..fc7dc3fab63 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -7,7 +7,6 @@ class DashboardController < ApplicationController
def show
@groups = current_user.authorized_groups.sort_by(&:human_name)
@has_authorized_projects = @projects.count > 0
- @teams = current_user.authorized_teams
@projects_count = @projects.count
@projects = @projects.limit(20)