Fix: フィルター使用中にエラーが出る場合がある問題の暫定対応 (#395)
This commit is contained in:
parent
843d5b8e15
commit
a6df29a925
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue