Sha256: 7fbe9cfd16ebd71802c515ade44482b81c8b30c326974d2b62046e700483fe7b
Contents?: true
Size: 329 Bytes
Versions: 11
Compression:
Stored size: 329 Bytes
Contents
# Allows content types (like Category) to be handled as blocks. # Intended as temporary module Cms::Concerns::IgnoresPublishing # Needs due to content controller automatically setting a default 'publish_on_save: false' when creating content. def self.included(klass) klass.send :attr_accessor, :publish_on_save end end
Version data entries
11 entries across 11 versions & 2 rubygems