Sha256: 4597ece4f2029f527a711adcb33b65b7a4268e206b1403bd6e15d42dfa7b2e2c

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module Spree
  module Admin
    module ImagesHelper
      def options_text_for(image)
        if image.viewable.is_a?(Spree::Variant)
          image.viewable.options_text
        else
          "All"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_core-1.3.2 app/helpers/spree/admin/images_helper.rb