Sha256: 68a33fe1510bdc2ae8acb219917e1a6d47128ab1296410933e667ca93b2624b3
Contents?: true
Size: 379 Bytes
Versions: 18
Compression:
Stored size: 379 Bytes
Contents
class Admin::ProductPropertiesController < Admin::BaseController resource_controller before_filter :find_properties # note: we're using attribute_fu to manage the product_properties so the products controller will be # doing most of the work belongs_to :product private def find_properties @properties = Property.all.map(&:name).join(" ") end end
Version data entries
18 entries across 18 versions & 2 rubygems