Merge pull request #2962 from AndrewKvalheim/countries-4.2
Update venue country name for Countries 4.2
This commit is contained in:
commit
5c7c75b53c
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ class Venue < ApplicationRecord
|
||||||
|
|
||||||
def country_name
|
def country_name
|
||||||
name = ISO3166::Country[country]
|
name = ISO3166::Country[country]
|
||||||
name&.name
|
name&.iso_short_name
|
||||||
end
|
end
|
||||||
|
|
||||||
def location?
|
def location?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue