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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-16 15:44:54 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-16 18:06:29 +0400
commit925183ed7a8eb392e008764483f59c319e22a59c (patch)
tree8b83b70d76864103fddb997adb149dae7cf5c796 /app/controllers/admin/dashboard_controller.rb
parent83f24de3520ba1c49544b268253a0665831c2bd5 (diff)
Add an AdminController base class for Admin controllers
Handles stuff that's shared across admin controllers.
Diffstat (limited to 'app/controllers/admin/dashboard_controller.rb')
-rw-r--r--app/controllers/admin/dashboard_controller.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
index ad80f4d5903..5152f6fa83d 100644
--- a/app/controllers/admin/dashboard_controller.rb
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -1,8 +1,4 @@
-class Admin::DashboardController < ApplicationController
- layout "admin"
- before_filter :authenticate_user!
- before_filter :authenticate_admin!
-
+class Admin::DashboardController < AdminController
def index
@workers = Resque.workers
@pending_jobs = Resque.size(:post_receive)