about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-11-17 01:22:38 +0100
committerGitHub <noreply@github.com>2017-11-17 01:22:38 +0100
commit2151fd315023a7f6849c6c9a519cd01deac09aa1 (patch)
treea0e11c33effa1af26c94565ecc938c3e4577b94a /app/models
parentad207456d64c76d21c17b26a954b459fe2dc0f54 (diff)
Display moderator badge (green), admin badge changed to red (#5728)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/account.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 6f6010f7a..bc01d2448 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -115,6 +115,8 @@ class Account < ApplicationRecord
            :current_sign_in_at,
            :confirmed?,
            :admin?,
+           :moderator?,
+           :staff?,
            :locale,
            to: :user,
            prefix: true,