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-4.4.1 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.4.0 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.3.4 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.2.4 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.1.5 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.3.3 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.3.2 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.1.4 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.3.1 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.3.0 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.2.3 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.1.3 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.0.4 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.4.6 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.0.3 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.1.2 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.2.2 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-3.4.5 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.2.1 app/controllers/spree/admin/option_values_controller.rb
solidus_backend-4.2.0 app/controllers/spree/admin/option_values_controller.rb