From 540728e063bb57aa18a21d92116d85fbef0c8230 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 9 May 2019 09:54:18 -0500 Subject: `SettingsHelper`: return `HUMAN_LOCALES` keys directly --- app/helpers/settings_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit