instance_helper.rb 195 B

1234567891011
  1. # frozen_string_literal: true
  2. module InstanceHelper
  3. def site_title
  4. Setting.site_title.presence || site_hostname
  5. end
  6. def site_hostname
  7. Rails.configuration.x.local_domain
  8. end
  9. end