Sha256: 38146aab81dc9dcd84436eccfb6978a081156acf2107e5bea913ef6aa4ec0011

Contents?: true

Size: 305 Bytes

Versions: 11

Compression:

Stored size: 305 Bytes

Contents

module Spree
  module Admin
    class ProductPropertiesController < ResourceController
      belongs_to 'spree/product', :find_by => :permalink
      before_filter :find_properties

      private

      def find_properties
        @properties = Spree::Property.all.map(&:name)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_core-1.0.7 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.6 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.4 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.3 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.2 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.1 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.0 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.0.rc4 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.0.rc3 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.0.rc2 app/controllers/spree/admin/product_properties_controller.rb
spree_core-1.0.0.rc1 app/controllers/spree/admin/product_properties_controller.rb