Sha256: 302657b72d94d97933c68b7e5659819198a7489408ac5f84514329d332e8298f

Contents?: true

Size: 293 Bytes

Versions: 5

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module SolidusReviews
  module Spree
    module ProductsControllerDecorator
      def self.prepended(base)
        base.class_eval do
          helper ::Spree::ReviewsHelper
        end
      end

      ::Spree::ProductsController.prepend self
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_reviews-1.7.0 app/decorators/controllers/solidus_reviews/spree/products_controller_decorator.rb
solidus_reviews-1.6.0 app/decorators/controllers/solidus_reviews/spree/products_controller_decorator.rb
solidus_reviews-1.5.0 app/decorators/controllers/solidus_reviews/spree/products_controller_decorator.rb
solidus_reviews-1.4.1 app/decorators/controllers/solidus_reviews/spree/products_controller_decorator.rb
solidus_reviews-1.4.0 app/decorators/controllers/solidus_reviews/spree/products_controller_decorator.rb