QuintinAdam / spree_flexi_variants

Spree extension to create product variants as-needed. Spree 3.0+
https://github.com/QuintinAdam/spree_flexi_variants
BSD 3-Clause "New" or "Revised" License
27 stars 38 forks source link

Error Creating ProductCustomization #10

Open raulperezalejo opened 7 years ago

raulperezalejo commented 7 years ago

When creating product customization in the admin interface with empty fields i get an error. This change prevent the error and show me the empty fields validation.

module Spree class Admin::ProductCustomizationTypesController < Admin::ResourceController before_action :load_product, only: [:selected, :available, :remove]