From f8e1f5ed733b9b7b16b1bd1da7a875ae9f7b2352 Mon Sep 17 00:00:00 2001 From: Enrico Stano Date: Thu, 14 Mar 2019 19:06:14 +0100 Subject: [PATCH] Update app/helpers/brand_logo_helper.rb Co-Authored-By: Morantron --- app/helpers/brand_logo_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/brand_logo_helper.rb b/app/helpers/brand_logo_helper.rb index ecbe7b51c..bc02bb1eb 100644 --- a/app/helpers/brand_logo_helper.rb +++ b/app/helpers/brand_logo_helper.rb @@ -7,6 +7,7 @@ def render_brand_logo private def should_render_logo? + return false unless current_user current_organization&.id == branded_organization_id end