Sha256: 6390073f9c6f7b869e84fb6eb360a2aafb3e0bc3cebbedfdb30fcfeb64f97ff7
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
module LatoBlog # This module contains a list of functions used to manage languages for the blog. module Interface::Languages # This function return an array with possible languages for posts. def blog__get_languages_identifier languages = CONFIGS[:lato_blog][:languages] return [] unless languages languages.values.map { |lang| lang[:identifier] } end end end
Version data entries
6 entries across 6 versions & 1 rubygems