diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-05-20 11:32:44 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-20 17:32:44 +0200 |
commit | 8f4b7c1820b046c8df10e043a0bc605f3007eee7 (patch) | |
tree | cd8703410d9c374f89e4845600aad931f04bd6a9 /app/controllers/settings | |
parent | 2e112e240666b62b8c3d4fa201fb24b841f6c92b (diff) |
Filter languages with opt out (#3175)
* Remove allowed_languages and add filtered_languages * Use filtered_languages instead of allowed_languages
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/preferences_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/preferences_controller.rb b/app/controllers/settings/preferences_controller.rb index 04a85849d..28757d1bc 100644 --- a/app/controllers/settings/preferences_controller.rb +++ b/app/controllers/settings/preferences_controller.rb @@ -26,7 +26,7 @@ class Settings::PreferencesController < ApplicationController def user_params params.require(:user).permit( :locale, - allowed_languages: [] + filtered_languages: [] ) end |