Drop country_select
We are using i18n_data directly.
This commit is contained in:
parent
94ec47dcc5
commit
d9f86d0564
4 changed files with 5 additions and 16 deletions
|
|
@ -20,8 +20,7 @@ class Venue < ApplicationRecord
|
|||
end
|
||||
|
||||
def country_name
|
||||
name = ISO3166::Country[country]
|
||||
name&.iso_short_name
|
||||
I18nData.countries[country]
|
||||
end
|
||||
|
||||
def location?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue