Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (29 sloc) 839 Bytes
= Delayed Job Admin
Simple admin interface for the Delayed::Job gem
= Usage
- Install the gem:
# Gemfile
gem "delayed_job_admin"
bundle install
- Setup authentication:
- Define a delayed_job_admin_authentication method in ApplicationController:
# app/controllers/application_controller.rb
def delayed_job_admin_authentication
# authentication_logic_goes_here
end
- For example, if you are using the Devise gem and have an Admin model:
# app/controllers/application_controller.rb
def delayed_job_admin_authentication
authenticate_admin!
end
- View the admin interface:
open http://localhost:3000/delayed_job_admin
= License
MIT License - Copyright (c) 2011 Trevor Turk and CaptainU
= Todo
x index
x require admin login, docs
x show
- destroy
- restart
- restart all