mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-20 09:41:28 +09:00
1ca4e51eb3
* Add option to not consider word boundaries when filtering phrases * Add a few tests for keyword/phrase filtering
7 lines
180 B
Ruby
7 lines
180 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::FilterSerializer < ActiveModel::Serializer
|
|
attributes :id, :phrase, :context, :whole_word, :expires_at,
|
|
:irreversible
|
|
end
|