diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-21 13:22:18 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-21 13:22:18 -0600 |
commit | 8312a6e51017498c417070cbcbf115da184b786d (patch) | |
tree | 21adc50927a531cc204bc6abd6165abdf930d3a6 /app/controllers | |
parent | b8f7ccf22729b77fbb5a44ecda01de5329d07adc (diff) |
add option to use phrase filters as an allow list
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/settings/preferences_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/settings/preferences_controller.rb b/app/controllers/settings/preferences_controller.rb index 66e9033d3..4ac654590 100644 --- a/app/controllers/settings/preferences_controller.rb +++ b/app/controllers/settings/preferences_controller.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class Settings::PreferencesController < Settings::BaseController + include Redisable + layout 'admin' before_action :authenticate_user! @@ -29,6 +31,7 @@ class Settings::PreferencesController < Settings::BaseController :locale, :hide_boosts, :only_known, + :invert_filters, chosen_languages: [] ) end |