about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-07-12 21:41:40 +0200
committerGitHub <noreply@github.com>2018-07-12 21:41:40 +0200
commit8e8491e1dab5e2ed98770710e0a32484de8530b3 (patch)
tree33835f6aee8a9ff413837027ccb5a7c5265c0eaa /app
parent57f31b361fe326e9357b8b128827ed2b5965da95 (diff)
parentddfcedcfe48c203281aa695cc7522f8b3c826302 (diff)
Merge pull request #575 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app')
-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