Sha256: c7c451f8c57eb70311301b27389081a9630e942060609863907ce1eed52fb79a
Contents?: true
Size: 422 Bytes
Versions: 112
Compression:
Stored size: 422 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
112 entries across 112 versions & 1 rubygems