Sha256: 9f14c115bc251b02aa41bceaf7370063b0616d618e25078bbee5da0b489996bb

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

Spree::ProductsController.class_eval do

  before_action :load_product, only: [:review, :question, :answer]

  def review

  end

  def question

  end

  def answer
    render "spree/products/review"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_power_reviews-3.0.0 app/controllers/spree/products_controller_decorator.rb