diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-15 22:40:20 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-15 22:40:20 -0500 |
commit | 7bbcf793bc75b44f2b20de77b7774759af60cd90 (patch) | |
tree | d8d441c2d8cf245b28651efa14f6460841a8e304 /app/controllers/api/v1/filters_controller.rb | |
parent | f783ec279d03b7b56c96af5e18e0dd8c7a0710a1 (diff) |
custom filters now have an option to add or override content warnings; filter caching has been fixed
Diffstat (limited to 'app/controllers/api/v1/filters_controller.rb')
-rw-r--r-- | app/controllers/api/v1/filters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/filters_controller.rb b/app/controllers/api/v1/filters_controller.rb index 48177f41a..760218d62 100644 --- a/app/controllers/api/v1/filters_controller.rb +++ b/app/controllers/api/v1/filters_controller.rb @@ -43,6 +43,6 @@ class Api::V1::FiltersController < Api::BaseController end def resource_params - params.permit(:phrase, :expires_in, :irreversible, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, context: []) + params.permit(:phrase, :expires_in, :irreversible, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, :custom_cw, :override_cw, context: []) end end |