about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-12 19:26:20 +0200
committerThibaut Girka <thib@sitedethib.com>2018-07-12 19:26:20 +0200
commitddfcedcfe48c203281aa695cc7522f8b3c826302 (patch)
tree33835f6aee8a9ff413837027ccb5a7c5265c0eaa /app/controllers
parent57f31b361fe326e9357b8b128827ed2b5965da95 (diff)
parent401559c376078ef98e11c3034977b835b4086b5b (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/filters_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb
index 8f7f1bced..0d1200fcc 100644
--- a/app/controllers/filters_controller.rb
+++ b/app/controllers/filters_controller.rb
@@ -57,6 +57,6 @@ class FiltersController < ApplicationController
   end
 
   def resource_params
-    params.require(:custom_filter).permit(:phrase, :expires_in, :irreversible, context: [])
+    params.require(:custom_filter).permit(:phrase, :expires_in, :irreversible, :whole_word, context: [])
   end
 end