From 739d31eae1d88ac1831eacb8ebd1c8386c995f9a Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 12 Jul 2022 16:21:56 +0100 Subject: [PATCH] remove return --- app/models/case_log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/case_log.rb b/app/models/case_log.rb index d9e768411..c2465105c 100644 --- a/app/models/case_log.rb +++ b/app/models/case_log.rb @@ -461,7 +461,7 @@ class CaseLog < ApplicationRecord end def unittype_sh - return location.type_of_unit_before_type_cast if location + location.type_of_unit_before_type_cast if location end private