Sha256: 7e9bbeb1b1e696e1fbc39e9855bb10be7f996d6034196ac58c0d14a1263485f6
Contents?: true
Size: 446 Bytes
Versions: 39
Compression:
Stored size: 446 Bytes
Contents
module Spree module Admin class ProductPropertiesController < ResourceController belongs_to 'spree/product', :find_by => :permalink before_filter :find_properties before_filter :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
39 entries across 39 versions & 2 rubygems