Sha256: b350aec33112c7af983efda58b19fb8e16b9ec89a99c544a687ff6c27296bcf4
Contents?: true
Size: 376 Bytes
Versions: 10
Compression:
Stored size: 376 Bytes
Contents
module Globalize2 module PagePartExtensions def self.included(base) base.class_eval do extend Globalize2::LocalizedContent localized_content_for :content end end def clone new_page_part = super translations.each do |t| new_page_part.translations << t.clone end new_page_part end end end
Version data entries
10 entries across 10 versions & 1 rubygems