From 832bcefc3ccc57f86c265903ec45ecce0e45e798 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 3 Nov 2020 00:07:13 +0100 Subject: [PATCH] Cookie warning footer repaired --- app/views/layouts/_footer.slim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/_footer.slim b/app/views/layouts/_footer.slim index dde65bb..82f01d0 100644 --- a/app/views/layouts/_footer.slim +++ b/app/views/layouts/_footer.slim @@ -14,4 +14,6 @@ // Only for debugging: / ' | Cookie is #{session[:token]} - = render 'cookies_eu/consent_banner', link: '/about#cookies' += render 'cookies_eu/consent_banner', link: '/about#cookies' + +/ = current_user.is_admin? \ No newline at end of file