diff options
author | mayaeh <mayaeh@marimo-net.org> | 2018-07-13 00:58:26 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-12 17:58:26 +0200 |
commit | 401559c376078ef98e11c3034977b835b4086b5b (patch) | |
tree | 69cfa51fcbd26a10b641144735c96a7ba45effd1 /app/controllers | |
parent | 7ac5151b74510aa82b07e349373bd442176e1e94 (diff) |
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.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/filters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |