Sha256: 9dce41ecec42c081b1077b518386906d3c82576f8fc02233ae64c9470d3ddf73

Contents?: true

Size: 284 Bytes

Versions: 131

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Spree
  module Admin
    class OptionValuesController < Spree::Admin::BaseController
      def destroy
        option_value = Spree::OptionValue.find(params[:id])
        option_value.destroy
        render plain: nil
      end
    end
  end
end

Version data entries

131 entries across 131 versions & 2 rubygems

Version Path
solidus_backend-3.2.5 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.2.4 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.2.3 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.1.8 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.0.8 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.2.2 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.2.1 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.2.0 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.2.0.alpha app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.0.7 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-2.11.17 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.1.7 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-2.11.16 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.0.6 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.1.6 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-2.11.15 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-2.11.14 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.0.5 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.1.5 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-2.11.13 app/controllers/spree/admin/option_values_controller.rb