Sha256: fa83f510126e9d30b6beace6282f11caa4aece0a197074dba5a2c23cb11954df
Contents?: true
Size: 360 Bytes
Versions: 32
Compression:
Stored size: 360 Bytes
Contents
module Locomotive class ContentLocalePickerCell < Cell::Base helper do include ::Locomotive::BaseHelper end def show(args) site = args[:site] @locale = args[:locale].to_s if site.locales.empty? || site.locales.size < 2 '' else @locales = site.locales render end end end end
Version data entries
32 entries across 32 versions & 2 rubygems