Sha256: 3663c62635635d10398b9ebc851bfe1b4496e1ec72cf4e7eac8f91dbe00d0bd2

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

module Spree
  class FaqsController < StoreController
    helper 'spree/products'

    def index
      @categories = QuestionCategory.all(include: :questions)
    end

    def default_title
      Spree.t(:frequently_asked_questions, scope: :spree_faq)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-faq-2.0.1 app/controllers/spree/faqs_controller.rb
spree-faq-2.0.0 app/controllers/spree/faqs_controller.rb