mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 07:22:45 +08:00

FIX: Disallow renaming of system badges FIX: Disallow renaming/deleting of system badge groupings UX: Use "modern" button style in badge groupings dialog
8 lines
155 B
Ruby
8 lines
155 B
Ruby
class BadgeGroupingSerializer < ApplicationSerializer
|
|
attributes :id, :name, :description, :position, :system
|
|
|
|
def system
|
|
object.system?
|
|
end
|
|
end
|