Sha256: 0a90a57860ad5c36456ca474c10ea5fd43853f86e9b7ab9d39f412d37a7dfb29
Contents?: true
Size: 346 Bytes
Versions: 13
Compression:
Stored size: 346 Bytes
Contents
module Voluntary module LanguageHelper def available_language_options options = [] AVAILABLE_LANGUAGES.each do |locale, language| options << [language, locale] end options.sort_by { |o| o[0] } end def all_language_options User.languages.sort_by { |o| o[0] } end end end
Version data entries
13 entries across 13 versions & 1 rubygems