Fix #6269 - Render LOCAL_DOMAIN as unicode in presentational views (#6305)

shrike
Eugen Rochko 2018-01-20 03:49:06 +01:00 committed by GitHub
parent 79b34a0fa2
commit 45afdf1781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ module InstanceHelper
end
def site_hostname
Rails.configuration.x.local_domain
@site_hostname ||= Addressable::URI.parse("//#{Rails.configuration.x.local_domain}").display_uri.host
end
end