summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-27 12:56:20 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-27 12:56:20 +0200
commit6b01196fb238cb921056ecd8d1572ff2874bf912 (patch)
tree37f437b6a918d6b7e6da041f7c44ac7214aaceb0 /app/controllers/dashboard_controller.rb
parentbd3b677b86d7c76788420e94862836343ac5c841 (diff)
downloadgitlab-ce-6b01196fb238cb921056ecd8d1572ff2874bf912.tar.gz
Dashboard to resource
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r--app/controllers/dashboard_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 13d8000873b..f320e819e26 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -2,9 +2,9 @@ class DashboardController < ApplicationController
respond_to :html
before_filter :load_projects
- before_filter :event_filter, only: :index
+ before_filter :event_filter, only: :show
- def index
+ def show
@groups = current_user.authorized_groups
@has_authorized_projects = @projects.count > 0
@teams = current_user.authorized_teams