diff options
author | David Yip <yipdw@member.fsf.org> | 2018-01-20 10:45:43 -0600 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2018-01-20 10:45:43 -0600 |
commit | 071c2c9c853b7d91127a7c44ec3c71830e0dcb20 (patch) | |
tree | 406918f6083b54b4d084dd1a20c921fecc32dc64 /app/helpers/instance_helper.rb | |
parent | 2ca965c704075467226dbf798e13ac8e0e62cc15 (diff) | |
parent | 0b7a0d15c7e7e23ca0c8bdb738b4a4911bf42eb2 (diff) |
Merge remote-tracking branch 'origin/master' into merge-upstream
Conflicts: app/javascript/styles/mastodon/components.scss
Diffstat (limited to 'app/helpers/instance_helper.rb')
-rw-r--r-- | app/helpers/instance_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/instance_helper.rb b/app/helpers/instance_helper.rb index 70027cca9..22a19c52b 100644 --- a/app/helpers/instance_helper.rb +++ b/app/helpers/instance_helper.rb @@ -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 |