From 401559c376078ef98e11c3034977b835b4086b5b Mon Sep 17 00:00:00 2001 From: mayaeh Date: Fri, 13 Jul 2018 00:58:26 +0900 Subject: Fix whole-word selection and i18n: Add Japanese translation for Whole-word (#8004) * Add Japanese translation for "Whole word" and add it's description. * Fix to enable "Whole-word" selection. --- app/controllers/filters_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index 03403a1ba..175dbab07 100644 --- a/app/controllers/filters_controller.rb +++ b/app/controllers/filters_controller.rb @@ -52,6 +52,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 -- cgit