Sha256: cf7f31180f0785fb950c649b12f26a83ecfde2fe1b13360e621601b20d135642
Contents?: true
Size: 411 Bytes
Versions: 6
Compression:
Stored size: 411 Bytes
Contents
module LatoBlog module ApplicationHelper # This function returns the title of the current language used by the system. def get_current_language_title return unless cookies[:lato_blog__current_language] CONFIGS[:lato_blog][:languages].values.each do |language| return language[:title] if language[:identifier] === cookies[:lato_blog__current_language] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems