mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Fix registrar address
This commit is contained in:
parent
b60da692c3
commit
22ec31e6bd
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Registrar < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def address
|
def address
|
||||||
[street, city, state, zip].reject(&:empty?).compact.join(', ')
|
[street, city, state, zip].reject(&:blank?).compact.join(', ')
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s
|
def to_s
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue