summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-10 13:17:16 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-10 13:17:16 -0700
commit7fd4dc1e11e772095123008c79796202b5b7c80d (patch)
treed96d4fd85b911aec6629a6e4a257e32bbc26870a /app/controllers/dashboard_controller.rb
parentc572bdb587bada094af867839a60a26a1fc1423e (diff)
downloadgitlab-ce-7fd4dc1e11e772095123008c79796202b5b7c80d.tar.gz
Remove group rendering from dashboard page
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r--app/controllers/dashboard_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 8f06a673584..2822d510e50 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -5,15 +5,9 @@ class DashboardController < ApplicationController
before_filter :event_filter, only: :show
def show
- @projects_limit = 20
- @groups = current_user.authorized_groups.order_name_asc
- @has_authorized_projects = @projects.count > 0
- @projects_count = @projects.count
@projects = @projects.includes(:namespace)
@last_push = current_user.recent_push
- @publicish_project_count = Project.publicish(current_user).count
-
respond_to do |format|
format.html