Fix: フィルター使用中にエラーが出る場合がある問題の暫定対応 (#395)

This commit is contained in:
KMY(雪あすか) 2023-12-27 10:35:09 +09:00 committed by GitHub
parent 843d5b8e15
commit a6df29a925
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,4 +12,14 @@ class REST::FilterSerializer < ActiveModel::Serializer
def rules_requested? def rules_requested?
instance_options[:rules_requested] instance_options[:rules_requested]
end end
# FIRST AID
# After the upstream is corrected, delete the following.
def title
object.phrase
end
def filter_action
object.action
end
end end