diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-05-09 09:54:18 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:23 -0500 |
commit | 540728e063bb57aa18a21d92116d85fbef0c8230 (patch) | |
tree | 43dcf602237decb20e26fade7db1e2cec2bf1e65 | |
parent | 82f691e9a9fa207c31a767982fdc2c987ecc3ae5 (diff) |
`SettingsHelper`: return `HUMAN_LOCALES` keys directly
-rw-r--r-- | app/helpers/settings_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index 84a13c434..1ff7b8a0b 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -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 |