about summary refs log tree commit diff
path: root/app/presenters
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-24 04:33:27 +0200
committerGitHub <noreply@github.com>2018-08-24 04:33:27 +0200
commita2cabf3f4af9271d8bfdb13c1ae2b7a8b4e6fb88 (patch)
treeb47c76434e800374b628a1dfeff7b8475dbbc006 /app/presenters
parent23752639b20abd26eefb199172da9fc3ceae172e (diff)
Add admin custom CSS setting (#8399)
Fix #3894
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/instance_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/instance_presenter.rb b/app/presenters/instance_presenter.rb
index 31365b646..a4e4af889 100644
--- a/app/presenters/instance_presenter.rb
+++ b/app/presenters/instance_presenter.rb
@@ -14,7 +14,7 @@ class InstancePresenter
   )
 
   def contact_account
-    Account.find_local(Setting.site_contact_username)
+    Account.find_local(Setting.site_contact_username.gsub(/\A@/, ''))
   end
 
   def user_count