Sha256: 39a8bcc2cd1d21b93a136098cc503edaef2588a4864d7ce31ef7a94b30492348

Contents?: true

Size: 271 Bytes

Versions: 6

Compression:

Stored size: 271 Bytes

Contents

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

    def index
      @categories = QuestionCategory.includes(:questions).load
    end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree-faq-2.4.0 app/controllers/spree/faqs_controller.rb
spree-faq-2.3.0 app/controllers/spree/faqs_controller.rb
spree-faq-2.2.1 app/controllers/spree/faqs_controller.rb
spree-faq-2.1.1 app/controllers/spree/faqs_controller.rb
spree-faq-2.2.0 app/controllers/spree/faqs_controller.rb
spree-faq-2.1.0 app/controllers/spree/faqs_controller.rb