diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-30 10:46:28 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-30 10:46:28 +0400 |
commit | a52936f36a867dbdf40f0f45fd23db95e149480f (patch) | |
tree | 1325a945dcfa0617e1c4fcbcf9d60728b2904f6d /app/controllers | |
parent | 84e4cfc6bbfa7251dc8e2b88ca4c507b98cadc61 (diff) |
Renames resque resource to background_jobs
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/background_jobs_controller.rb | 4 | ||||
-rw-r--r-- | app/controllers/admin/dashboard_controller.rb | 3 | ||||
-rw-r--r-- | app/controllers/admin/resque_controller.rb | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/app/controllers/admin/background_jobs_controller.rb b/app/controllers/admin/background_jobs_controller.rb new file mode 100644 index 00000000000..994e707965a --- /dev/null +++ b/app/controllers/admin/background_jobs_controller.rb @@ -0,0 +1,4 @@ +class Admin::BackgroundJobsController < Admin::ApplicationController + def show + end +end diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb index 3c27b86180b..3c80b6503fa 100644 --- a/app/controllers/admin/dashboard_controller.rb +++ b/app/controllers/admin/dashboard_controller.rb @@ -2,8 +2,5 @@ class Admin::DashboardController < Admin::ApplicationController def index @projects = Project.order("created_at DESC").limit(10) @users = User.order("created_at DESC").limit(10) - - rescue Redis::InheritedError - @resque_accessible = false end end diff --git a/app/controllers/admin/resque_controller.rb b/app/controllers/admin/resque_controller.rb deleted file mode 100644 index 7d489ab4876..00000000000 --- a/app/controllers/admin/resque_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -class Admin::ResqueController < Admin::ApplicationController - def show - end -end |