Application helper updates

This commit is contained in:
Priit Tark 2015-04-16 10:08:12 +03:00
parent 2eaa8dae98
commit 35513b83bf

View file

@ -10,7 +10,7 @@ module ApplicationHelper
end end
def ident_for(contact) def ident_for(contact)
if contact.kind_of? Hash if contact.is_a? Hash
ident_country_code = contact[:ident_country_code] ident_country_code = contact[:ident_country_code]
ident_type = contact[:ident_type] ident_type = contact[:ident_type]
ident = contact[:ident] ident = contact[:ident]