aboutsummaryrefslogtreecommitdiff
path: root/app/views/application
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-23 15:42:33 +0100
committerhellekin <hellekin@cepheide.org>2021-01-23 15:42:33 +0100
commit84dc56483203e13eafe69962ec6bc0c28c47aca7 (patch)
treee76e6bba8e08a84906f5cccc9205f3da2aff12e3 /app/views/application
parent73b3fffdbe730c33480682c40e7e8271e75ddf59 (diff)
downloadincommon-map-84dc56483203e13eafe69962ec6bc0c28c47aca7.tar.gz
Remove unused Taxonomy target and refactor debug
Cleaning up the code.
Diffstat (limited to 'app/views/application')
-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>