Merge pull request #2962 from AndrewKvalheim/countries-4.2

Update venue country name for Countries 4.2
This commit is contained in:
Henne Vogelsang 2022-03-08 13:21:45 +01:00 committed by GitHub
commit 5c7c75b53c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ class Venue < ApplicationRecord
def country_name
name = ISO3166::Country[country]
name&.name
name&.iso_short_name
end
def location?