aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/_development_toolbar.html.slim2
1 files changed, 1 insertions, 1 deletions
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