about summary refs log tree commit diff
path: root/app/models/account.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-06-17 13:54:02 +0200
committerGitHub <noreply@github.com>2018-06-17 13:54:02 +0200
commit7eec279c7fb0350974fea4456c5c3bab7b457376 (patch)
tree5744c731973c3f0523f057cd6b96e75785c8de2d /app/models/account.rb
parent31e5d7efd700547d27d0393264859fa02932a8dd (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/models/account.rb')
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 72e850aa7..c3eea79cc 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -141,7 +141,7 @@ class Account < ApplicationRecord
            prefix: true,
            allow_nil: true
 
-  delegate :filtered_languages, to: :user, prefix: false, allow_nil: true
+  delegate :chosen_languages, to: :user, prefix: false, allow_nil: true
 
   def local?
     domain.nil?