Sha256: 8cf36c44d71b21826cc6a63c72aadbf8a92e389b344ad30b677a722cae938370
Contents?: true
Size: 436 Bytes
Versions: 49
Compression:
Stored size: 436 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
49 entries across 49 versions & 2 rubygems