FIX: make frozen string mutable in incoming_domain

This commit is contained in:
Maja Komel 2019-05-14 16:52:56 +02:00
parent 33bd47164f
commit e0fe01925e
1 changed files with 1 additions and 1 deletions

View File

@ -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}"