app/models/phcmemberspro/members/contact.rb in phcmemberspro-2.2.8 vs app/models/phcmemberspro/members/contact.rb in phcmemberspro-3.0.0
- old
+ new
@@ -5,10 +5,10 @@
def self.scoped_to(account)
where(:account_id => account.id)
end
# Translate Country Code to Name
- def country_name
+ def members_contact
country = ISO3166::Country[mccountry]
country.translations[I18n.locale.to_s] || country.name
end
# Model Relationships