diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-23 15:42:33 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-23 15:42:33 +0100 |
commit | 84dc56483203e13eafe69962ec6bc0c28c47aca7 (patch) | |
tree | e76e6bba8e08a84906f5cccc9205f3da2aff12e3 /app/views/application | |
parent | 73b3fffdbe730c33480682c40e7e8271e75ddf59 (diff) | |
download | incommon-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.erb | 2 |
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> |