aboutsummaryrefslogtreecommitdiff
path: root/app/views/application/_debug.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/application/_debug.html.erb')
-rw-r--r--app/views/application/_debug.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_debug.html.erb b/app/views/application/_debug.html.erb
index fce114d..94b4a1a 100644
--- a/app/views/application/_debug.html.erb
+++ b/app/views/application/_debug.html.erb
@@ -1,4 +1,4 @@
-<% if Rails.env.development? %>
+<% if Rails.env.development? && current_user.present? %>
<div id="debug">
<%= yield :debug %>
</div>