Class: RubyCms::ContentBlock

Inherits:
ContentBlock
  • Object
show all
Defined in:
app/models/ruby_cms/content_block.rb

Overview

Backwards-compatible shim: keep RubyCms::ContentBlock working, but the canonical model is the top-level ::ContentBlock.

Constant Summary

Constants inherited from ContentBlock

ContentBlock::CONTENT_TYPES

Method Summary

Methods inherited from ContentBlock

accessible_by, action_text_available?, active_storage_available?, by_key, #can_delete?, #can_edit?, #content_body, find_by_key_and_locale, #record_update_by

Methods included from ContentBlock::Publishable

#publish, #published?, #unpublish