about summary refs log tree commit diff
path: root/app/helpers/instance_helper.rb
blob: 70027cca9183f3972cf6e02f09ee4b0b6a80e72f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module InstanceHelper
  def site_title
    Setting.site_title.presence || site_hostname
  end

  def site_hostname
    Rails.configuration.x.local_domain
  end
end