about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-05 04:29:49 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-04 20:29:49 +0100
commitef44c62d17085e71a807705f25c549553676c5f1 (patch)
treeefe69f62d1f103d547941b66926213f8f9b6ceaa /app
parent219aac7800a086a75f3ef36f71955bb8b6ccc2c0 (diff)
Do not default site_title with site_hostname in InstanceHelper (#6624)
site_title is "Mastodon" by default configuration, and there is no need to
default site_title with site_hostname in InstanceHelper.
Diffstat (limited to 'app')
-rw-r--r--app/helpers/instance_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/instance_helper.rb b/app/helpers/instance_helper.rb
index 22a19c52b..dd0b25f3e 100644
--- a/app/helpers/instance_helper.rb
+++ b/app/helpers/instance_helper.rb
@@ -2,7 +2,7 @@
 
 module InstanceHelper
   def site_title
-    Setting.site_title.presence || site_hostname
+    Setting.site_title
   end
 
   def site_hostname