Add batch actions and categories to admin UI for custom emojis (#11793)
This commit is contained in:
@ -12,4 +12,6 @@
|
||||
|
||||
class CustomEmojiCategory < ApplicationRecord
|
||||
has_many :emojis, class_name: 'CustomEmoji', foreign_key: 'category_id', inverse_of: :category
|
||||
|
||||
validates :name, presence: true, uniqueness: true
|
||||
end
|
||||
|
Reference in New Issue
Block a user