Add hints for rules (#29539)
This commit is contained in:
parent
98ef38e34e
commit
5b3a8737d6
11 changed files with 29 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::RuleSerializer < ActiveModel::Serializer
|
||||
attributes :id, :text
|
||||
attributes :id, :text, :hint
|
||||
|
||||
def id
|
||||
object.id.to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue