`SettingsHelper`: return `HUMAN_LOCALES` keys directly
parent
82f691e9a9
commit
540728e063
|
@ -67,6 +67,10 @@ module SettingsHelper
|
||||||
HUMAN_LOCALES[locale]
|
HUMAN_LOCALES[locale]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def filterable_languages
|
||||||
|
HUMAN_LOCALES.keys
|
||||||
|
end
|
||||||
|
|
||||||
def hash_to_object(hash)
|
def hash_to_object(hash)
|
||||||
HashObject.new(hash)
|
HashObject.new(hash)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue