From 84dc56483203e13eafe69962ec6bc0c28c47aca7 Mon Sep 17 00:00:00 2001 From: hellekin Date: Sat, 23 Jan 2021 15:42:33 +0100 Subject: Remove unused Taxonomy target and refactor debug Cleaning up the code. --- app/views/application/_debug.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/application/_debug.html.erb') 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? %>
<%= yield :debug %>
-- cgit v1.2.3