Sha256: 1400ccf15df87a17797750f4fb93310f134b61e3a20961787cd16c7230ad45c9
Contents?: true
Size: 433 Bytes
Versions: 24
Compression:
Stored size: 433 Bytes
Contents
module Spree module Admin class ProductPropertiesController < ResourceController belongs_to 'spree/product', find_by: :slug before_action :find_properties before_action :setup_property, only: :index private def find_properties @properties = Spree::Property.pluck(:name) end def setup_property @product.product_properties.build end end end end
Version data entries
24 entries across 24 versions & 1 rubygems