From fc690df55454f8cd42eea16251e8b232da981ded Mon Sep 17 00:00:00 2001 From: clemkeirua Date: Fri, 6 Nov 2020 17:23:54 +0100 Subject: [PATCH] add access to super admins to delayed_job and flipper --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index d6bdfafd5..82914057e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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