Sha256: 6e1e1ceb3eeb388d9a0bde0262186407ae34063e7909645de20fa03b706a948d

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

module Workarea
  decorate Admin::ProductViewModel, with: :product_content do
    decorated do
      # Place code to decorate here that would normally go on the class
      # level, e.g.:
      #
      #     field :name, type: String
      include Admin::ContentableViewModel
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-product_content-0.0.3.pre app/view_models/workarea/admin/product_view_model.decorator
workarea-product_content-0.0.2.pre app/view_models/workarea/admin/product_view_model.decorator
workarea-product_content-0.0.1.pre app/view_models/workarea/admin/product_view_model.decorator