Added admin api for managing tags (#26872)
This commit is contained in:
parent
97e4011c3c
commit
20666482ef
5 changed files with 219 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::Admin::TagSerializer < REST::TagSerializer
|
||||
attributes :id, :trendable, :usable, :requires_review
|
||||
attributes :id, :trendable, :usable, :requires_review, :listable
|
||||
|
||||
def id
|
||||
object.id.to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue