From a9a13421269650b0600008d74ab7c97f386e5618 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 9 Oct 2019 20:01:45 -0500 Subject: custom filters can now also match posts with missing media descriptions --- app/controllers/filters_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/filters_controller.rb') diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index c80e6853a..8a4636ba2 100644 --- a/app/controllers/filters_controller.rb +++ b/app/controllers/filters_controller.rb @@ -58,7 +58,7 @@ class FiltersController < ApplicationController end def resource_params - params.require(:custom_filter).permit(:phrase, :expires_in, :irreversible, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, :custom_cw, :override_cw, :desc, context: []) + params.require(:custom_filter).permit(:phrase, :expires_in, :irreversible, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, :custom_cw, :override_cw, :desc, :no_desc, context: []) end def set_body_classes -- cgit