Sha256: bc4334bb1238e9a22cdd315ea9077db0e68764ef0cf59426db7e512727105794

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

module Enjoy::Pages
  if Enjoy::Pages.mongoid?
    class Block < Enjoy::EmbeddedElement
      include Enjoy::Pages::Models::Block

      include Enjoy::Pages::Decorators::Block

      rails_admin(&Enjoy::Pages::Admin::Block.config(rails_admin_add_fields) { |config|
        rails_admin_add_config(config)
      })
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enjoy_cms_pages-0.4.1 app/models/enjoy/pages/block.rb
enjoy_cms_pages-0.4.0 app/models/enjoy/pages/block.rb
enjoy_cms_pages-0.4.0.beta3 app/models/enjoy/pages/block.rb