logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

instance_helper.rb (236B)


  1. # frozen_string_literal: true
  2. module InstanceHelper
  3. def site_title
  4. Setting.site_title
  5. end
  6. def site_hostname
  7. @site_hostname ||= Addressable::URI.parse("//#{Rails.configuration.x.local_domain}").display_uri.host
  8. end
  9. end