Eugen Rochko
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/helpers/instance_helper.rb
|
@ -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 |