parent
79b34a0fa2
commit
45afdf1781
|
@ -6,6 +6,6 @@ module InstanceHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def site_hostname
|
def site_hostname
|
||||||
Rails.configuration.x.local_domain
|
@site_hostname ||= Addressable::URI.parse("//#{Rails.configuration.x.local_domain}").display_uri.host
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue