lib/enjoy/models/mongoid/page_block.rb in enjoy_cms-0.3.0.3 vs lib/enjoy/models/mongoid/page_block.rb in enjoy_cms-0.3.0.4

- old
+ new

@@ -5,9 +5,11 @@ extend ActiveSupport::Concern include Enjoy::HtmlField included do + has_and_belongs_to_many :blocksets, inverse_of: :blocks, class_name: "Enjoy::PageBlockset" + enjoy_cms_html_field :content, type: String, localize: Enjoy.config.localize, default: "" end end end end