From 1b88e86364f7a3faff8bea42361f29b630a852b4 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 20 May 2020 17:56:34 +0800 Subject: [PATCH] fix error --- app/views/email/delete_email.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/email/delete_email.html.erb b/app/views/email/delete_email.html.erb index 98fef6e..ba959ec 100644 --- a/app/views/email/delete_email.html.erb +++ b/app/views/email/delete_email.html.erb @@ -31,7 +31,7 @@ <%= property[k].collect{|k,v| v}.uniq.join('/') rescue nil %> <% elsif k=='owners' %> <%= property.owner_profiles.collect{|v| v.name}.join(', ') %> - <% elsif k == 'category' %> + <% elsif ['category','property_location'].include?(k) %> <%= v.title %> <% elsif k == 'can_be_hired' %> <%= v ? t('yes_') : t('no_') %>