added a link to resque-web from admin page
This commit is contained in:
parent
b27b5dba10
commit
afd1913de4
3 changed files with 5 additions and 1 deletions
|
|
@ -5,5 +5,7 @@
|
||||||
%li= link_to 'User Search', user_search_path
|
%li= link_to 'User Search', user_search_path
|
||||||
%li= link_to 'Weekly User Stats', weekly_user_stats_path
|
%li= link_to 'Weekly User Stats', weekly_user_stats_path
|
||||||
%li= link_to 'Pod Stats', pod_stats_path
|
%li= link_to 'Pod Stats', pod_stats_path
|
||||||
|
- if AppConfig[:mount_resque_web]
|
||||||
|
%li= link_to 'Resque Overview', resque_web_path
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ defaults: &defaults
|
||||||
- 'diasporahq@joindiaspora.com'
|
- 'diasporahq@joindiaspora.com'
|
||||||
|
|
||||||
# List of users who have admin privileges
|
# List of users who have admin privileges
|
||||||
|
# (expressed as an array of local usernames)
|
||||||
admins:
|
admins:
|
||||||
- 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
|
- 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
|
||||||
|
|
||||||
|
|
@ -166,6 +167,7 @@ defaults: &defaults
|
||||||
paypal_hosted_button_id: ""
|
paypal_hosted_button_id: ""
|
||||||
|
|
||||||
# Mount resque-web into routes
|
# Mount resque-web into routes
|
||||||
|
# This allows an administrator to see info about the workers
|
||||||
mount_resque_web: true
|
mount_resque_web: true
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@ Diaspora::Application.routes.draw do
|
||||||
|
|
||||||
# Resque web
|
# Resque web
|
||||||
if AppConfig[:mount_resque_web]
|
if AppConfig[:mount_resque_web]
|
||||||
mount Resque::Server.new, :at => '/resque-jobs'
|
mount Resque::Server.new, :at => '/resque-jobs', :as => "resque_web"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Logout Page (go mobile)
|
# Logout Page (go mobile)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue