From e054eca0a6e2ee928465aa076edc50e95590c952 Mon Sep 17 00:00:00 2001 From: Zog Date: Wed, 9 May 2018 11:48:29 +0200 Subject: Fix development toolbar --- app/views/shared/_development_toolbar.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_development_toolbar.html.slim b/app/views/shared/_development_toolbar.html.slim index 836066b3d..1d45c41d0 100644 --- a/app/views/shared/_development_toolbar.html.slim +++ b/app/views/shared/_development_toolbar.html.slim @@ -1,4 +1,4 @@ -- if Rails.application.config.development_toolbar +- if Rails.application.config.development_toolbar && current_user = modalbox 'development-toolbar' do = form_tag development_toolbar_update_settings_path, authenticity_token: true do .modal-header -- cgit v1.2.3