From d5c7858f6c69d944c5bb3a47bfb1ee4c813b48c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Mon, 2 Oct 2017 16:36:52 +0200 Subject: [PATCH] Removed officer alert in admin section --- app/views/layouts/admin.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index c08412903..0f9a82856 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -33,7 +33,7 @@
<%= render "layouts/flash" %> - <%= render "layouts/officing_booth" if session[:booth_id].present? %> + <%= render "layouts/officing_booth" if controller.class.parent == Officing && session[:booth_id].present? %> <%= yield %>