2019-07-02 08:10:25 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module InstanceHelper
|
|
|
|
def site_title
|
2020-11-09 18:14:42 +00:00
|
|
|
Setting::SITE_TITLE
|
2019-07-02 08:10:25 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def site_hostname
|
|
|
|
@site_hostname ||= Addressable::URI.parse("//#{Rails.configuration.x.local_domain}").display_uri.host
|
|
|
|
end
|
|
|
|
end
|