mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
pull moderator into own column, rename trust levels
This commit is contained in:
parent
0f5046a9cc
commit
62c60540be
21 changed files with 75 additions and 62 deletions
|
@ -36,7 +36,7 @@ class AdminDetailedUserSerializer < AdminUserSerializer
|
|||
end
|
||||
|
||||
def moderator
|
||||
object.has_trust_level?(:moderator)
|
||||
object.moderator
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue