`SettingsHelper`: return `HUMAN_LOCALES` keys directly

staging
multiple creatures 2019-05-09 09:54:18 -05:00
parent 82f691e9a9
commit 540728e063
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,10 @@ module SettingsHelper
HUMAN_LOCALES[locale]
end
def filterable_languages
HUMAN_LOCALES.keys
end
def hash_to_object(hash)
HashObject.new(hash)
end