From 35513b83bf36dc953df5911ffa15ace081b06319 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 16 Apr 2015 10:08:12 +0300 Subject: [PATCH] Application helper updates --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 5c1a9a401..7397ec7cb 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -10,7 +10,7 @@ module ApplicationHelper end def ident_for(contact) - if contact.kind_of? Hash + if contact.is_a? Hash ident_country_code = contact[:ident_country_code] ident_type = contact[:ident_type] ident = contact[:ident]