add access to super admins to delayed_job and flipper
This commit is contained in:
parent
36b9aa7efa
commit
fc690df554
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ Rails.application.routes.draw do
|
||||||
post 'demandes/create_administrateur'
|
post 'demandes/create_administrateur'
|
||||||
post 'demandes/refuse_administrateur'
|
post 'demandes/refuse_administrateur'
|
||||||
|
|
||||||
authenticate :administration do
|
authenticate :super_admin do
|
||||||
mount Flipper::UI.app(-> { Flipper.instance }) => "/features", as: :flipper
|
mount Flipper::UI.app(-> { Flipper.instance }) => "/features", as: :flipper
|
||||||
match "/delayed_job" => DelayedJobWeb, :anchor => false, :via => [:get, :post]
|
match "/delayed_job" => DelayedJobWeb, :anchor => false, :via => [:get, :post]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue