Sha256: 531b43fc251dc9b3860eaa7e56cdb238675902b9fdafac10d3d5387dbd93b624

Contents?: true

Size: 412 Bytes

Versions: 52

Compression:

Stored size: 412 Bytes

Contents

require "prerendered_entity"

class RenderedManual
  include Mongoid::Document
  include Mongoid::Timestamps
  extend PrerenderedEntity

  field :manual_id, type: String
  field :slug, type: String
  field :title, type: String
  field :summary, type: String
  field :section_groups, type: Array

  index "slug", unique: true

  GOVSPEAK_FIELDS = []

  validates_with SafeHtml
  validates_uniqueness_of :slug
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
govuk_content_models-28.0.0 app/models/rendered_manual.rb
govuk_content_models-27.2.0 app/models/rendered_manual.rb
govuk_content_models-27.1.0 app/models/rendered_manual.rb
govuk_content_models-27.0.0 app/models/rendered_manual.rb
govuk_content_models-26.2.0 app/models/rendered_manual.rb
govuk_content_models-26.1.0 app/models/rendered_manual.rb
govuk_content_models-26.0.0 app/models/rendered_manual.rb
govuk_content_models-25.0.0 app/models/rendered_manual.rb
govuk_content_models-24.2.0 app/models/rendered_manual.rb
govuk_content_models-24.1.0 app/models/rendered_manual.rb
govuk_content_models-24.0.1 app/models/rendered_manual.rb
govuk_content_models-24.0.0 app/models/rendered_manual.rb
govuk_content_models-23.0.0 app/models/rendered_manual.rb
govuk_content_models-22.2.0 app/models/rendered_manual.rb
govuk_content_models-22.1.2 app/models/rendered_manual.rb
govuk_content_models-22.1.1 app/models/rendered_manual.rb
govuk_content_models-22.1.0 app/models/rendered_manual.rb
govuk_content_models-22.0.0 app/models/rendered_manual.rb
govuk_content_models-21.0.0 app/models/rendered_manual.rb
govuk_content_models-20.2.0 app/models/rendered_manual.rb