Sha256: 9e5916f1cc3d5dff53a6d088b9712f616295386e31e08593339c000254a696da

Contents?: true

Size: 376 Bytes

Versions: 80

Compression:

Stored size: 376 Bytes

Contents

module Spree
  class ContentController < Spree::StoreController
    # Don't serve local files or static assets
    after_action :fire_visited_path, except: :cvv

    respond_to :html

    def test; end

    def cvv
      render layout: false
    end

    def fire_visited_path
      Spree::PromotionHandler::Page.new(current_order, params[:action]).activate
    end
  end
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
spree_frontend-4.0.9 app/controllers/spree/content_controller.rb
spree_frontend-4.1.15 app/controllers/spree/content_controller.rb
spree_frontend-4.2.7 app/controllers/spree/content_controller.rb
spree_frontend-4.2.6 app/controllers/spree/content_controller.rb
spree_frontend-4.2.5 app/controllers/spree/content_controller.rb
spree_frontend-4.1.14 app/controllers/spree/content_controller.rb
spree_frontend-4.0.8 app/controllers/spree/content_controller.rb
spree_frontend-4.2.4 app/controllers/spree/content_controller.rb
spree_frontend-3.7.14.1 app/controllers/spree/content_controller.rb
spree_frontend-4.2.3.1 app/controllers/spree/content_controller.rb
spree_frontend-4.1.13.1 app/controllers/spree/content_controller.rb
spree_frontend-4.0.7.1 app/controllers/spree/content_controller.rb
spree_frontend-4.2.3 app/controllers/spree/content_controller.rb
spree_frontend-4.2.2 app/controllers/spree/content_controller.rb
spree_frontend-4.2.1 app/controllers/spree/content_controller.rb
spree_frontend-4.0.7 app/controllers/spree/content_controller.rb
spree_frontend-3.7.14 app/controllers/spree/content_controller.rb
spree_frontend-4.2.0 app/controllers/spree/content_controller.rb
spree_frontend-4.2.0.rc5 app/controllers/spree/content_controller.rb
spree_frontend-4.2.0.rc4 app/controllers/spree/content_controller.rb