Quick correction, so that new event and orga can work properly again
This commit is contained in:
parent
1ef2e500f0
commit
9d4567430b
@ -94,7 +94,7 @@ class Event < ApplicationRecord
|
||||
end
|
||||
|
||||
def full_address
|
||||
[address, city, region, region.region].compact.join ', '
|
||||
[address, city, region, region.try(:region)].compact.join ', '
|
||||
end
|
||||
|
||||
def hashtags
|
||||
|
@ -92,7 +92,7 @@ class Orga < ApplicationRecord
|
||||
end
|
||||
|
||||
def full_address
|
||||
[address, city, region, region.region].compact.join ', '
|
||||
[address, city, region, region.try(:region)].compact.join ', '
|
||||
end
|
||||
|
||||
def to_s
|
||||
|
Loading…
Reference in New Issue
Block a user