mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
8517674a32
FIX: Disallow renaming of system badges FIX: Disallow renaming/deleting of system badge groupings UX: Use "modern" button style in badge groupings dialog
7 lines
155 B
Ruby
7 lines
155 B
Ruby
class BadgeGroupingSerializer < ApplicationSerializer
|
|
attributes :id, :name, :description, :position, :system
|
|
|
|
def system
|
|
object.system?
|
|
end
|
|
end
|