aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorZog2018-05-09 11:48:29 +0200
committerZog2018-05-09 11:48:29 +0200
commite054eca0a6e2ee928465aa076edc50e95590c952 (patch)
treee4fcb1d402ea0c082c3c59efd1fd10d126b82fd7 /app
parent3750a1da0650b692046d7422537a310ba5c5bfd6 (diff)
downloadchouette-core-e054eca0a6e2ee928465aa076edc50e95590c952.tar.bz2
Fix development toolbar
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