diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-17 13:54:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-17 13:54:02 +0200 |
commit | 7eec279c7fb0350974fea4456c5c3bab7b457376 (patch) | |
tree | 5744c731973c3f0523f057cd6b96e75785c8de2d /app/controllers/settings | |
parent | 31e5d7efd700547d27d0393264859fa02932a8dd (diff) |
Change language opt-out to language opt-in (#7823)
* Switch filtered_languages to chosen_languages * Adjust interface * Remove unused translations
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 57793d776..851e62d1b 100644 --- a/app/controllers/settings/preferences_controller.rb +++ b/app/controllers/settings/preferences_controller.rb @@ -27,7 +27,7 @@ class Settings::PreferencesController < ApplicationController def user_params params.require(:user).permit( :locale, - filtered_languages: [] + chosen_languages: [] ) end |