0
0
Fork 0

Add hints for rules (#29539)

This commit is contained in:
Eugen Rochko 2024-03-11 09:57:07 +01:00 committed by GitHub
parent 98ef38e34e
commit 5b3a8737d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 29 additions and 4 deletions

View file

@ -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