parent
98753287ac
commit
2c5c068365
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class REST::FilterSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def filter_action
|
||||
return :hide if object.half_warn_action?
|
||||
return :warn if object.half_warn_action?
|
||||
|
||||
object.filter_action
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue