FIX: make frozen string mutable in incoming_domain
This commit is contained in:
parent
33bd47164f
commit
e0fe01925e
|
@ -23,7 +23,7 @@ class IncomingDomain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def to_url
|
||||
url = "http#{https ? "s" : ""}://#{name}"
|
||||
url = +"http#{https ? "s" : ""}://#{name}"
|
||||
|
||||
if https && port != 443 || !https && port != 80
|
||||
url << ":#{port}"
|
||||
|
|
Loading…
Reference in New Issue