b0e3d611f5
• Removed: - unused code from initial_state and ReactController
12 lines
237 B
Ruby
12 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
module InstanceHelper
|
|
def site_title
|
|
Setting::SITE_TITLE
|
|
end
|
|
|
|
def site_hostname
|
|
@site_hostname ||= Addressable::URI.parse("//#{Rails.configuration.x.local_domain}").display_uri.host
|
|
end
|
|
end
|