diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 7ac886444b..eb975424ef 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +# rubocop:disable Metrics/ClassLength module Admin class ProductsV3Controller < Spree::Admin::BaseController helper ProductsHelper @@ -183,3 +184,4 @@ module Admin end end end +# rubocop:enable Metrics/ClassLength diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index 7d107af4a4..a2feef4d28 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -174,5 +174,4 @@ class ProductsReflex < ApplicationReflex params.permit(products: ::PermittedAttributes::Product.attributes) .to_h.with_indifferent_access end - end