Filter languages with opt out (#3175)
* Remove allowed_languages and add filtered_languages * Use filtered_languages instead of allowed_languages
This commit is contained in:
committed by
Eugen Rochko
parent
2e112e2406
commit
8f4b7c1820
@ -99,7 +99,7 @@ class Account < ApplicationRecord
|
||||
prefix: true,
|
||||
allow_nil: true
|
||||
|
||||
delegate :allowed_languages, to: :user, prefix: false, allow_nil: true
|
||||
delegate :filtered_languages, to: :user, prefix: false, allow_nil: true
|
||||
|
||||
def local?
|
||||
domain.nil?
|
||||
|
Reference in New Issue
Block a user