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