diff --git a/app/models/event.rb b/app/models/event.rb index f59f1a409db32cd9a5222af30fab7f0a6f1e48e9..0243e23c9152ca12d7b5f2f179e2d1e6f6cc910c 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -86,7 +86,9 @@ class Event < ApplicationRecord end def full_address - [address, city, region, region.try(:region)].compact.join ', ' + # Only uses the region if it is a sub-region and not a country + [address, city, region, region.try(:region) ? region.try(:region) : nil] + .compact.join ', ' end def hashtags