Added admin api for managing tags (#26872)

This commit is contained in:
Robert R George
2023-09-13 02:22:53 -07:00
committed by GitHub
parent 97e4011c3c
commit 20666482ef
5 changed files with 219 additions and 1 deletions
+1 -1
View File
@@ -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