Sha256: 3bdb0dfe5211b5736ef23955999139d29ecd47da93f8d3455377ebede5cf5dfc
Contents?: true
Size: 295 Bytes
Versions: 8
Compression:
Stored size: 295 Bytes
Contents
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
Version data entries
8 entries across 8 versions & 1 rubygems