-
Notifications
You must be signed in to change notification settings - Fork 34
/
README
52 lines (32 loc) · 888 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
= 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
= Contributing
bundle install
bundle exec rake
= License
MIT License - Copyright (c) 2011 Trevor Turk and CaptainU
= Todo
x index
x require admin login, docs
x show
- destroy
- restart
- restart all