mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Add Sidekiq web interface
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
require 'sidekiq/web'
|
||||
|
||||
Openfoodnetwork::Application.routes.draw do
|
||||
namespace :admin do
|
||||
|
||||
authenticated :spree_user, -> user { user.admin? } do
|
||||
mount DelayedJobWeb, at: '/delayed_job'
|
||||
mount Flipper::UI.app(Flipper) => '/feature-toggle'
|
||||
mount Sidekiq::Web, at: "/sidekiq"
|
||||
end
|
||||
|
||||
resources :bulk_line_items
|
||||
|
||||
Reference in New Issue
Block a user