Display moderator badge (green), admin badge changed to red (#5728)

This commit is contained in:
Eugen Rochko
2017-11-17 01:22:38 +01:00
committed by GitHub
parent ad207456d6
commit 2151fd3150
4 changed files with 23 additions and 4 deletions

View File

@ -115,6 +115,8 @@ class Account < ApplicationRecord
:current_sign_in_at,
:confirmed?,
:admin?,
:moderator?,
:staff?,
:locale,
to: :user,
prefix: true,