Skip to content

A platform for community discussion. Free, open, simple.

FIX: make frozen string mutable in incoming_domain

Maja Komele0fe01925e38
diff --git a/app/models/incoming_domain.rb b/app/models/incoming_domain.rb
index ced37023d7d..e9ef69ffaac 100644
--- a/app/models/incoming_domain.rb
+++ b/app/models/incoming_domain.rb
@@ -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}"